commit | cd63471a41849a796bb11cac890db0836dcedcea | [log] [tgz] |
---|---|---|
author | Yunjian Wang <wangyunjian@huawei.com> | Sat Dec 26 16:10:05 2020 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jan 12 20:18:12 2021 +0100 |
tree | 6b79bdd3b85a5747aeeb62325b77e559c39992cc | |
parent | 7a20969b874e182f1e2270077ce280335b4aa5e3 [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>