git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd4: reshuffle lease-setting code to allow reuse
[safe/jmp/linux-2.6]
/
include
/
net
/
netrom.h
diff --git
a/include/net/netrom.h
b/include/net/netrom.h
index
15696b1
..
ab170a6
100644
(file)
--- a/
include/net/netrom.h
+++ b/
include/net/netrom.h
@@
-132,6
+132,8
@@
static __inline__ void nr_node_put(struct nr_node *nr_node)
static __inline__ void nr_neigh_put(struct nr_neigh *nr_neigh)
{
if (atomic_dec_and_test(&nr_neigh->refcount)) {
+ if (nr_neigh->ax25)
+ ax25_cb_put(nr_neigh->ax25);
kfree(nr_neigh->digipeat);
kfree(nr_neigh);
}