diff options
author | Alexander Aring <[email protected]> | 2022-10-05 22:02:37 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-10-07 08:42:00 +0100 |
commit | 30393181fdbc1608cc683b4ee99dcce05ffcc8c7 (patch) | |
tree | cd0c798deba2d6f880ba7ce5d1b73ca077d954f6 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 87d1aa8b90d83b0084c7d9baadefaeaf928014c3 (diff) |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions