diff mbox

[-next] netfilter: nf_tables: remove unused struct members

Message ID 1448319808-9532-1-git-send-email-fw@strlen.de
State Accepted
Delegated to: Pablo Neira
Headers show

Commit Message

Florian Westphal Nov. 23, 2015, 11:03 p.m. UTC
Signed-off-by: Florian Westphal <fw@strlen.de>
---
thoff and nhoff are not used anywhere,
payload expression uses skb_network_header() and xt.thoff as base offset.

Comments

Pablo Neira Ayuso Nov. 25, 2015, 12:51 p.m. UTC | #1
On Tue, Nov 24, 2015 at 12:03:28AM +0100, Florian Westphal wrote:
> Signed-off-by: Florian Westphal <fw@strlen.de>
> ---
> thoff and nhoff are not used anywhere,
> payload expression uses skb_network_header() and xt.thoff as base offset.

Applied, thanks Florian.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h
index 5131ad4..6c6fd49 100644
--- a/include/net/netfilter/nf_tables.h
+++ b/include/net/netfilter/nf_tables.h
@@ -19,8 +19,6 @@  struct nft_pktinfo {
 	const struct net_device		*out;
 	u8				pf;
 	u8				hook;
-	u8				nhoff;
-	u8				thoff;
 	u8				tprot;
 	/* for x_tables compatibility */
 	struct xt_action_param		xt;