ax25: netrom: rose: Fix timer oopses
authorJarek Poplawski <jarkao2@gmail.com>
Sat, 16 Jan 2010 09:04:04 +0000 (01:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 16 Jan 2010 09:04:04 +0000 (01:04 -0800)
commitd00c362f1b0ff54161e0a42b4554ac621a9ef92d
tree33ffeef90727309ad67690b2b7b63e1161b052ec
parent2a04cd4c7d41c4549764734dcf5a883d304e3229
ax25: netrom: rose: Fix timer oopses

Wrong ax25_cb refcounting in ax25_send_frame() and by its callers can
cause timer oopses (first reported with 2.6.29.6 kernel).

Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=14905

Reported-by: Bernard Pidoux <bpidoux@free.fr>
Tested-by: Bernard Pidoux <bpidoux@free.fr>
Signed-off-by: Jarek Poplawski <jarkao2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netrom.h
net/ax25/ax25_out.c
net/netrom/nr_route.c
net/rose/rose_link.c
net/rose/rose_route.c