kernel-ark/net/x25
Dave Jones 4ccb93ce74 x25: Fix broken locking in ioctl error paths.
Two of the x25 ioctl cases have error paths that break out of the function without
unlocking the socket, leading to this warning:

================================================
[ BUG: lock held when returning to user space! ]
3.10.0-rc7+ #36 Not tainted
------------------------------------------------
trinity-child2/31407 is leaving the kernel with locks still held!
1 lock held by trinity-child2/31407:
 #0:  (sk_lock-AF_X25){+.+.+.}, at: [<ffffffffa024b6da>] x25_ioctl+0x8a/0x740 [x25]

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-01 18:15:25 -07:00
..
af_x25.c x25: Fix broken locking in ioctl error paths. 2013-07-01 18:15:25 -07:00
Kconfig net/x25: remove depends on CONFIG_EXPERIMENTAL 2013-01-11 11:40:03 -08:00
Makefile
sysctl_net_x25.c
x25_dev.c
x25_facilities.c
x25_forward.c
x25_in.c
x25_link.c
x25_out.c
x25_proc.c x25: use proc_remove_subtree() 2013-04-09 14:13:35 -04:00
x25_route.c
x25_subr.c
x25_timer.c