Alexander Aring 30393181fd net: ieee802154: return -EINVAL for unknown addr type
This patch adds handling to return -EINVAL for an unknown addr type. The
current behaviour is to return 0 as successful but the size of an
unknown addr type is not defined and should return an error like -EINVAL.

Fixes: 94160108a70c ("net/ieee802154: fix uninit value bug in dgram_sendmsg")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-10-07 08:42:00 +01:00
..
2022-10-03 20:09:22 +02:00
2022-10-04 13:38:03 -07:00
2022-08-04 20:00:14 -07:00
2022-10-04 13:38:03 -07:00
2022-08-04 12:12:54 -07:00
2022-08-06 10:56:45 -07:00
2022-09-01 01:02:10 -04:00
2022-10-03 20:11:59 -07:00
2022-10-04 13:38:03 -07:00