mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
[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>
This commit is contained in:
parent
a6c1cd5726
commit
178a3259f2
1 changed files with 2 additions and 2 deletions
|
@ -805,8 +805,8 @@ 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 (bridge_parent(skb->dev))
|
||||
printk("[%s]", bridge_parent(skb->dev)->name);
|
||||
if (realoutdev)
|
||||
printk("[%s]", realoutdev->name);
|
||||
}
|
||||
printk(" head:%p, raw:%p, data:%p\n", skb->head, skb->mac.raw,
|
||||
skb->data);
|
||||
|
|
Loading…
Reference in a new issue