linux/net/appletalk
Arnd Bergmann b20e7bbfc7 net/appletalk: fix atalk_release use after free
The BKL removal in appletalk introduced a use-after-free problem,
where atalk_destroy_socket frees a sock, but we still release
the socket lock on it.

An easy fix is to take an extra reference on the sock and sock_put
it when returning from atalk_release.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-21 18:18:00 -07:00
..
Makefile
aarp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
atalk_proc.c net: appletalk: use seq_hlist_foo() helpers 2010-02-10 11:12:09 -08:00
ddp.c net/appletalk: fix atalk_release use after free 2011-03-21 18:18:00 -07:00
dev.c net: remove COMPAT_NET_DEV_OPS 2009-05-25 01:53:53 -07:00
sysctl_net_atalk.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00