diff options
-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); |