Files
linux/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
..
2016-07-08 12:20:57 +02:00
2016-07-08 12:20:57 +02:00
2014-11-09 19:50:29 +01:00
2015-07-23 17:10:49 +02:00
2014-10-28 23:19:09 +01:00