mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-15 13:22:55 +00:00
ipv4: Give backtrace in ip_rt_bug().
Add a stack backtrace to the ip_rt_bug path for debugging Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3137663dfb
commit
c378a9c019
@ -1665,6 +1665,7 @@ static int ip_rt_bug(struct sk_buff *skb)
|
|||||||
&ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr,
|
&ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr,
|
||||||
skb->dev ? skb->dev->name : "?");
|
skb->dev ? skb->dev->name : "?");
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
|
WARN_ON(1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user