summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2008-03-06 03:39:08 +0100
committerDavid S. Miller <davem@davemloft.net>2008-03-06 03:39:08 +0100
commitcf3752e2d203bbbfc88d29e362e6938cef4339b3 (patch)
treef48f87708423899ca04590e0a004b3c4913443f9 /include/asm-blackfin
parentatm: replace remaining __FUNCTION__ occurrences (diff)
downloadlinux-cf3752e2d203bbbfc88d29e362e6938cef4339b3.tar.xz
linux-cf3752e2d203bbbfc88d29e362e6938cef4339b3.zip
[PPPOL2TP]: Make locking calls softirq-safe
Fix locking issues in the pppol2tp driver which can cause a kernel crash on SMP boxes. There were two problems:- 1. The driver was violating read_lock() and write_lock() scheduling rules because it wasn't using softirq-safe locks in softirq contexts. So we now consistently use the _bh variants of the lock functions. 2. The driver was calling sk_dst_get() in pppol2tp_xmit() which was taking sk_dst_lock in softirq context. We now call __sk_dst_get(). Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-blackfin')
0 files changed, 0 insertions, 0 deletions