Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] netfilter: fix build error due to missing has_bridge_parent macro

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>

authored by

Jesper Juhl and committed by
Linus Torvalds
3c791925 d524c5e2

+1 -1
+1 -1
net/bridge/br_netfilter.c
··· 805 805 print_error: 806 806 if (skb->dev != NULL) { 807 807 printk("[%s]", skb->dev->name); 808 - if (has_bridge_parent(skb->dev)) 808 + if (bridge_parent(skb->dev)) 809 809 printk("[%s]", bridge_parent(skb->dev)->name); 810 810 } 811 811 printk(" head:%p, raw:%p, data:%p\n", skb->head, skb->mac.raw,