diff options
| author | Yunjian Wang <wangyunjian@huawei.com> | 2020-12-26 16:10:05 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-01-12 20:10:19 +0100 |
| commit | 6928179970635accad665f34fbdaef3113b5cee0 (patch) | |
| tree | 539687c245bca5f88ceea508d0a2f0b1e0024a59 /scripts | |
| parent | d45a1c9d0438bc526173674b86a35b0b56d12b98 (diff) | |
net: hns: fix return value check in __lb_other_process()
[ Upstream commit 5ede3ada3da7f050519112b81badc058190b9f9f ]
The function skb_copy() could return NULL, the return value
need to be checked.
Fixes: b5996f11ea54 ("net: add Hisilicon Network Subsystem basic ethernet support")
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
