Skip to content

Commit

Permalink
netfilter: merge fixup for "nf_tables_netdev: remove redundant ip_hdr…
Browse files Browse the repository at this point in the history
… assignment"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Stephen Rothwell authored and David S. Miller committed Oct 6, 2016
1 parent 5bfb88a commit a44c984
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/net/netfilter/nf_tables_ipv4.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ __nft_set_pktinfo_ipv4_validate(struct nft_pktinfo *pkt,
if (!iph)
return -1;

iph = ip_hdr(skb);
if (iph->ihl < 5 || iph->version != 4)
return -1;

Expand Down

0 comments on commit a44c984

Please sign in to comment.