diff options
| author | 2021-05-19 14:16:14 +0000 | |
|---|---|---|
| committer | 2021-06-03 10:59:49 +0200 | |
| commit | 373e864cf52403b0974c2f23ca8faf9104234555 (patch) | |
| tree | 99399de4a51e45bcbfd42f2717219dc4ed1a0f65 /kernel/bpf/queue_stack_maps.c | |
| parent | ieee802154: fix error return code in ieee802154_add_iface() (diff) | |
| download | linux-rng-373e864cf52403b0974c2f23ca8faf9104234555.tar.xz linux-rng-373e864cf52403b0974c2f23ca8faf9104234555.zip | |
ieee802154: fix error return code in ieee802154_llsec_getparams()
Fix to return negative error code -ENOBUFS from the error handling
case instead of 0, as done elsewhere in this function.
Fixes: 3e9c156e2c21 ("ieee802154: add netlink interfaces for llsec")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210519141614.3040055-1-weiyongjun1@huawei.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'kernel/bpf/queue_stack_maps.c')
0 files changed, 0 insertions, 0 deletions
