]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/bridge/br_netfilter.c
[BRIDGE]: Fix crash in __ip_route_output_key with bridge netfilter
[linux-2.6-omap-h63xx.git] / net / bridge / br_netfilter.c
index 1c0efd8ad9f311ef2ed676891d5b0c28a858d1fa..af7e8be8d8d2e85ffc853ea6c04163b7bd36c92d 100644 (file)
@@ -110,7 +110,8 @@ 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,
+       .nd_net                 = &init_net,
 };
 
 static struct rtable __fake_rtable = {