summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2011-05-21 07:16:42 +0000
committerDavid S. Miller <davem@davemloft.net>2011-05-22 21:01:20 -0400
commitc378a9c019cf5e017d1ed24954b54fae7bebd2bc (patch)
tree4ac192542d8c5de29fc014f56b659a554f59017c /net
parent3137663dfb43bb3e3174e9da81db0c05f395fc1b (diff)
downloadlinux-3.10-c378a9c019cf5e017d1ed24954b54fae7bebd2bc.tar.gz
linux-3.10-c378a9c019cf5e017d1ed24954b54fae7bebd2bc.tar.bz2
linux-3.10-c378a9c019cf5e017d1ed24954b54fae7bebd2bc.zip
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>
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/route.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index b24d58e6bbc..52b0b956508 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;
}