diff options
author | Dave Jones <davej@redhat.com> | 2011-05-21 09:16:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-23 03:01:20 +0200 |
commit | c378a9c019cf5e017d1ed24954b54fae7bebd2bc (patch) | |
tree | 4ac192542d8c5de29fc014f56b659a554f59017c /net/ipv4/route.c | |
parent | net: avoid synchronize_rcu() in dev_deactivate_many (diff) | |
download | linux-c378a9c019cf5e017d1ed24954b54fae7bebd2bc.tar.xz linux-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/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) &ip_hdr(skb)->saddr, &ip_hdr(skb)->daddr, skb->dev ? skb->dev->name : "?"); kfree_skb(skb); + WARN_ON(1); return 0; } |