Commit 5ede3ada authored by Yunjian Wang's avatar Yunjian Wang Committed by David S. Miller
Browse files

net: hns: fix return value check in __lb_other_process()

The function skb_copy() could return NULL, the return value
need to be checked.

Fixes: b5996f11

 ("net: add Hisilicon Network Subsystem basic ethernet support")
Signed-off-by: default avatarYunjian Wang <wangyunjian@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd1248f1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment