[PATCH] netfilter: fix build error due to missing has_bridge_parent macro
authorJesper Juhl <jesper.juhl@gmail.com>
Sun, 12 Feb 2006 22:34:53 +0000 (14:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 13 Feb 2006 00:10:47 +0000 (16:10 -0800)
net/bridge/br_netfilter.c: In function `br_nf_post_routing':
net/bridge/br_netfilter.c:808: warning: implicit declaration of function `has_bridge_parent'

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Cc: Harald Welte <laforge@netfilter.org>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
net/bridge/br_netfilter.c

index b5018166b0e5d163716efb5194940a9a0ddf591d..c06cb098353095434c28461571c886c7533eea70 100644 (file)
@@ -805,7 +805,7 @@ static unsigned int br_nf_post_routing(unsigned int hook, struct sk_buff **pskb,
 print_error:
        if (skb->dev != NULL) {
                printk("[%s]", skb->dev->name);
-               if (has_bridge_parent(skb->dev))
+               if (bridge_parent(skb->dev))
                        printk("[%s]", bridge_parent(skb->dev)->name);
        }
        printk(" head:%p, raw:%p, data:%p\n", skb->head, skb->mac.raw,