linux-stable/net/ieee802154
Wei Yongjun 5a93a8288c 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:59:14 +09:00
..
6lowpan
core.c
core.h
header_ops.c
ieee802154.h
Kconfig
Makefile
netlink.c
nl-mac.c ieee802154: fix error return code in ieee802154_llsec_getparams() 2021-06-03 10:59:49 +02:00
nl-phy.c net: Remove redundant if statements 2021-08-05 13:27:50 +01:00
nl802154.c net: ieee802154: Return meaningful error codes from the netlink helpers 2022-02-08 18:34:09 +01:00
nl802154.h
nl_policy.c
rdev-ops.h
socket.c net: ieee802154: fix error return code in dgram_bind() 2022-11-03 23:59:14 +09:00
sysfs.c
sysfs.h
trace.c
trace.h