projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3137663
)
ipv4: Give backtrace in ip_rt_bug().
author
Dave Jones
<davej@redhat.com>
Sat, 21 May 2011 07:16:42 +0000
(07:16 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 23 May 2011 01:01:20 +0000
(21:01 -0400)
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>
net/ipv4/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index b24d58e6bbcd623526dc9b70399a1bfc6a9de677..52b0b956508b93046dd0cc3ef9dfd157f3d57ea5 100644
(file)
--- 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;
}