aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/flow_dissector.c
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-09-20 17:46:12 +0800
committerDaniel Borkmann <daniel@iogearbox.net>2018-09-21 22:51:51 +0200
commit788758d1fe874fd20ecb0ab490552d94c024a9de (patch)
tree0e43897c33126f9f74dbe7bf8f6d6472ffaf4f94 /net/core/flow_dissector.c
parentsamples/bpf: fix compilation failure (diff)
downloadlinux-dev-788758d1fe874fd20ecb0ab490552d94c024a9de.tar.xz
linux-dev-788758d1fe874fd20ecb0ab490552d94c024a9de.zip
bpf: remove redundant null pointer check before consume_skb
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: zhong jiang <zhongjiang@huawei.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/core/flow_dissector.c')
0 files changed, 0 insertions, 0 deletions