netfilter: merge fixup for "nf_tables_netdev: remove redundant ip_hdr assignment"
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Sep 2016 00:08:58 +0000 (10:08 +1000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Oct 2016 00:25:48 +0000 (20:25 -0400)
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>
include/net/netfilter/nf_tables_ipv4.h

index 968f00b..25e33ae 100644 (file)
@@ -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;