linux-stable/net/ieee802154
Wei Yongjun 7948db093e net: ieee802154: fix error return code in dgram_bind()
commit 444d8ad491 upstream.

Fix to return error code -EINVAL from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: 94160108a7 ("net/ieee802154: fix uninit value bug in dgram_sendmsg")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20220919160830.1436109-1-weiyongjun@huaweicloud.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-03 23:49:17 +09:00
..
6lowpan inet: frags: call inet_frags_fini() after unregister_pernet_subsys() 2020-01-29 10:24:25 +01:00
Kconfig nl802154: add support for security layer 2015-09-30 13:16:44 +02:00
Makefile
core.c ieee802154: add netns support 2016-07-08 12:20:57 +02:00
core.h ieee802154: add netns support 2016-07-08 12:20:57 +02:00
header_ops.c ieee802154: change needed headroom/tailroom 2015-09-22 11:51:20 +02:00
ieee802154.h
netlink.c
nl-mac.c ieee802154: fix error return code in ieee802154_llsec_getparams() 2021-06-10 12:42:35 +02:00
nl-phy.c ieee802154: fix error return code in ieee802154_add_iface() 2021-06-10 12:42:35 +02:00
nl802154.c net: ieee802154: Return meaningful error codes from the netlink helpers 2022-02-08 18:15:29 +01:00
nl802154.h
nl_policy.c nl802154: add missing attribute validation for dev_type 2020-03-20 09:07:39 +01:00
rdev-ops.h nl802154: add support for security layer 2015-09-30 13:16:44 +02:00
socket.c net: ieee802154: fix error return code in dgram_bind() 2022-11-03 23:49:17 +09:00
sysfs.c cfg802154: add PM hooks 2015-07-23 17:10:49 +02:00
sysfs.h
trace.c
trace.h ieee802154: add ack request default handling 2015-08-10 20:43:06 +02:00