diff options
author | Liping Zhang <liping.zhang@spreadtrum.com> | 2016-08-28 16:59:52 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-08-30 11:41:04 +0200 |
commit | c73c2484901139c28383b58eabcbf4d613e91518 (patch) | |
tree | a2c4370d711776cc2f3ec6342e3248399a5355d8 /include/net/tc_act | |
parent | 4249fc1f023a2106170bbf715e2e1a0ebc2d5b1f (diff) |
netfilter: nf_tables_netdev: remove redundant ip_hdr assignment
We have already use skb_header_pointer to get the ip header pointer,
so there's no need to use ip_hdr again. Moreover, in NETDEV INGRESS
hook, ip header maybe not linear, so use ip_hdr is not appropriate,
remove it.
Signed-off-by: Liping Zhang <liping.zhang@spreadtrum.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net/tc_act')
0 files changed, 0 insertions, 0 deletions