android_kernel_xiaomi_sm8350/net/ieee802154
Wei Yongjun 6f3511eb86 net: ieee802154: fix error return code in dgram_bind()
commit 444d8ad4916edec8a9fc684e841287db9b1e999f upstream.

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

Fixes: 94160108a70c ("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:56:54 +09:00
..
6lowpan
core.c drivers: Introduce device lookup variants by name 2019-07-30 13:07:41 +02:00
core.h
header_ops.c
ieee802154.h Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina 2019-07-01 17:41:24 -07:00
Kconfig
Makefile
netlink.c
nl802154.c net: ieee802154: Return meaningful error codes from the netlink helpers 2022-02-08 18:24:31 +01:00
nl802154.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
nl_policy.c
nl-mac.c ieee802154: fix error return code in ieee802154_llsec_getparams() 2021-06-10 13:37:05 +02:00
nl-phy.c ieee802154: fix error return code in ieee802154_add_iface() 2021-06-10 13:37:05 +02:00
rdev-ops.h
socket.c net: ieee802154: fix error return code in dgram_bind() 2022-11-03 23:56:54 +09:00
sysfs.c
sysfs.h
trace.c
trace.h