Re: [PATCH 01/15] br_netfilter: brnf_net structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vasily Averin schreef op 9/05/2014 23:26:
struct brnf_net for per-netns settings in br_netfilters

Signed-off-by: Vasily Averin <vvs@xxxxxxxxxx>
---
  net/bridge/br_private.h |   15 +++++++++++++++
  1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index 06811d7..e29ae83 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -312,6 +312,21 @@ struct br_input_skb_cb {
  # define BR_INPUT_SKB_CB_MROUTERS_ONLY(__skb)	(0)
  #endif

+#ifdef CONFIG_BRIDGE_NETFILTER
+struct brnf_net {
+	struct net *net;

Unless I missed something, the net member is only really needed for CONFIG_SYSCTL.

cheers,
Bart

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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux