bpf: remove redundant null pointer check before consume_skb
mainline inclusion from mainline-v4.20-rc1 commit 788758d1 category: other bugzilla: 43460 CVE: NA --------------------------------------- consume_skb has taken the null pointer into account. hence it is safe to remove the redundant null pointer check before consume_skb. Signed-off-by: Nzhong jiang <zhongjiang@huawei.com> Acked-by: NSong Liu <songliubraving@fb.com> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net> Signed-off-by: Nliuxin <liuxin264@huawei.com> Reviewed-by: NCheng Jian <cj.chengjian@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录