From: Dave Jones Date: Sat, 21 May 2011 07:16:42 +0000 (+0000) Subject: ipv4: Give backtrace in ip_rt_bug(). X-Git-Tag: firefly_0821_release~7613^2~1341^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c378a9c019cf5e017d1ed24954b54fae7bebd2bc;p=firefly-linux-kernel-4.4.55.git ipv4: Give backtrace in ip_rt_bug(). Add a stack backtrace to the ip_rt_bug path for debugging Signed-off-by: Dave Jones Signed-off-by: David S. Miller --- diff --git a/net/ipv4/route.c b/net/ipv4/route.c index b24d58e6bbcd..52b0b956508b 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1665,6 +1665,7 @@ static int ip_rt_bug(struct sk_buff *skb) &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, skb->dev ? skb->dev->name : "?"); kfree_skb(skb); + WARN_ON(1); return 0; }