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

[BRIDGE]: Better fix for netfilter missing symbol has_bridge_parent

Horms patch was the best of the three fixes. Dave, already applied
Harald's version, so this patch converts that to the better one.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Stephen Hemminger and committed by
David S. Miller
178a3259 a6c1cd57

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