decnet: proper socket refcounting
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 21 Nov 2011 00:21:55 +0000 (00:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 20:49:07 +0000 (15:49 -0500)
commit8a6e77d5209e459a9ec5c268c39800c06cd1dc86
tree141421761c5ac9b398cab84b3674d30ec2fd4e00
parentfc0b927d9a5024e138c4318fe19a590f23e3eeec
decnet: proper socket refcounting

Better use sk_reset_timer() / sk_stop_timer() helpers to make sure we
dont access already freed/reused memory later.

Reported-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/decnet/dn_timer.c