[X25]: fix for spinlock recurse and spinlock lockup with timer handler
commit43dff98b022ded593e73c3784bac03bc9fc7ec55
authorShaun Pereira <spereira@tusc.com.au>
Fri, 28 Apr 2006 19:00:17 +0000 (28 12:00 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 30 Apr 2006 01:33:11 +0000 (29 18:33 -0700)
tree93fc4549e1c5d2eee1186916ff8507ce63a99b63
parente0a515bc6a2188f02916e976f419a8640312e32a
[X25]: fix for spinlock recurse and spinlock lockup with timer handler

When the sk_timer function x25_heartbeat_expiry() is called by the
kernel in a running/terminating process, spinlock-recursion and
spinlock-lockup locks up the kernel.  This has happened with testing
on some distro's and the patch below fixed it.

Signed-off-by: Shaun Pereira <spereira@tusc.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/x25_timer.c