Fix to return negative error code -ENOBUFS from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
---
net/ieee802154/nl-mac.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
From: Dan Carpenter <hidden> Date: 2021-05-20 05:45:17
On Wed, May 19, 2021 at 02:16:14PM +0000, Wei Yongjun wrote:
Fix to return negative error code -ENOBUFS from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
Fixes: 3e9c156e2c21 ("ieee802154: add netlink interfaces for llsec")
This patch doesn't seem to affect runtime so far as I can tell with
a quick glance...
regards,
dan carpenter
From: Stefan Schmidt <stefan@datenfreihafen.org> Date: 2021-06-03 09:01:55
Hello.
On 19.05.21 16:16, Wei Yongjun wrote:
quoted hunk
Fix to return negative error code -ENOBUFS from the error handling
case instead of 0, as done elsewhere in this function.
Reported-by: Hulk Robot <redacted>
Signed-off-by: Wei Yongjun <redacted>
---
net/ieee802154/nl-mac.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)