diff options
author | Dave Jones <davej@redhat.com> | 2011-05-21 03:16:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-22 21:01:20 -0400 |
commit | c378a9c019cf5e017d1ed24954b54fae7bebd2bc (patch) | |
tree | 4ac192542d8c5de29fc014f56b659a554f59017c /net/ipv4/route.c | |
parent | 3137663dfb43bb3e3174e9da81db0c05f395fc1b (diff) |
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/ipv4/route.c')
-rw-r--r-- | net/ipv4/route.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) | |||
1665 | &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, | 1665 | &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, |
1666 | skb->dev ? skb->dev->name : "?"); | 1666 | skb->dev ? skb->dev->name : "?"); |
1667 | kfree_skb(skb); | 1667 | kfree_skb(skb); |
1668 | WARN_ON(1); | ||
1668 | return 0; | 1669 | return 0; |
1669 | } | 1670 | } |
1670 | 1671 | ||