Message ID | 20110521171642.GA18411@redhat.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Dave Jones <davej@redhat.com> Date: Sat, 21 May 2011 13:16:42 -0400 > Add a stack backtrace to the ip_rt_bug path for debugging > > Signed-off-by: Dave Jones <davej@redhat.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/ipv4/route.c b/net/ipv4/route.c index 99e6e4b..6fb18b7 100644 --- a/net/ipv4/route.c +++ b/net/ipv4/route.c @@ -1687,6 +1687,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; }