diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-02-13 18:43:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-02-13 18:43:58 -0500 |
commit | 178a3259f2508e786fb1bd6538365a167cee35c1 (patch) | |
tree | 3736fd620ecdec6193b52505982e8fa12698c695 | |
parent | a6c1cd572642478528165ac44db4d2daae125a21 (diff) |
[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>
-rw-r--r-- | net/bridge/br_netfilter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bridge/br_netfilter.c b/net/bridge/br_netfilter.c index c06cb0983530..6bb0c7eb1ef0 100644 --- a/net/bridge/br_netfilter.c +++ b/net/bridge/br_netfilter.c | |||
@@ -805,8 +805,8 @@ static unsigned int br_nf_post_routing(unsigned int hook, struct sk_buff **pskb, | |||
805 | print_error: | 805 | print_error: |
806 | if (skb->dev != NULL) { | 806 | if (skb->dev != NULL) { |
807 | printk("[%s]", skb->dev->name); | 807 | printk("[%s]", skb->dev->name); |
808 | if (bridge_parent(skb->dev)) | 808 | if (realoutdev) |
809 | printk("[%s]", bridge_parent(skb->dev)->name); | 809 | printk("[%s]", realoutdev->name); |
810 | } | 810 | } |
811 | printk(" head:%p, raw:%p, data:%p\n", skb->head, skb->mac.raw, | 811 | printk(" head:%p, raw:%p, data:%p\n", skb->head, skb->mac.raw, |
812 | skb->data); | 812 | skb->data); |