net/hinic: Solve the problem that the network card hangs when receiving the skb which frag_size=0
driver inclusion category:bugfix bugzilla:31091 CVE:NA ----------------------------------------------------------------------- To solve the problem that the network card hangs when receiving the skb which frag_size=0 In order to solve this problem, hinic driver adds a judgment on the legality of frag_size in tx process. If size of lastest frags are all zero, hinic driver will ignore this frags. If size of some frags in the middle is zero, hinic driver will drop this skb. Signed-off-by: NShaozhengchao <shaozhengchao@huawei.com> Reviewed-by: NLuoshaokai <luoshaokai@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录