commit | 788758d1fe874fd20ecb0ab490552d94c024a9de | [log] [tgz] |
---|---|---|
author | zhong jiang <zhongjiang@huawei.com> | Thu Sep 20 17:46:12 2018 +0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Fri Sep 21 22:51:51 2018 +0200 |
tree | 0e43897c33126f9f74dbe7bf8f6d6472ffaf4f94 | |
parent | 32c009798385ce21080beaa87a9b95faad3acd1e [diff] |
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>