]> err.no Git - linux-2.6/blobdiff - net/bridge/br_netfilter.c
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[linux-2.6] / net / bridge / br_netfilter.c
index 0278a069c6f1506fc4dfd3b9430de2346ae00688..bb90cd7bace326b06710e95155aa6b72ee3a0339 100644 (file)
@@ -110,7 +110,10 @@ static inline __be16 pppoe_proto(const struct sk_buff *skb)
  * ipt_REJECT needs it.  Future netfilter modules might
  * require us to fill additional fields. */
 static struct net_device __fake_net_device = {
-       .hard_header_len        = ETH_HLEN
+       .hard_header_len        = ETH_HLEN,
+#ifdef CONFIG_NET_NS
+       .nd_net                 = &init_net,
+#endif
 };
 
 static struct rtable __fake_rtable = {