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:
d475f3f
)
[NEIGH] Print stack trace in neigh_add_timer
author
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 23 Oct 2005 06:11:39 +0000
(16:11 +1000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Sun, 23 Oct 2005 06:11:39 +0000
(16:11 +1000)
Stack traces are very helpful in determining the exact nature of a bug.
So let's print a stack trace when the timer is added twice.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
net/core/neighbour.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/neighbour.c
b/net/core/neighbour.c
index 4128fc76ac3a2906bc586c1f5b05ae670cdca686..766caa0dd9305be10468da8af20f72acb1f6922f 100644
(file)
--- a/
net/core/neighbour.c
+++ b/
net/core/neighbour.c
@@
-732,6
+732,7
@@
static inline void neigh_add_timer(struct neighbour *n, unsigned long when)
if (unlikely(mod_timer(&n->timer, when))) {
printk("NEIGH: BUG, double timer add, state is %x\n",
n->nud_state);
+ dump_stack();
}
}