linux/net/x25
andrew hendry 429d33ace5 X25: Fix oops and refcnt problems from x25_dev_get
Calls to x25_dev_get check for dev = NULL which was not set.
It allowed x25 to set routes and ioctls on down interfaces.
This caused oopses and refcnt problems on device_unregister.

Signed-off-by: Andrew Hendry <andrew.hendry@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-29 00:25:02 -08:00
..
af_x25.c X25: Check for errors in x25_init 2009-11-29 00:25:01 -08:00
Kconfig
Makefile [X.25]: Add call forwarding 2007-02-08 13:34:02 -08:00
sysctl_net_x25.c net: '&' redux 2008-11-03 18:21:05 -08:00
x25_dev.c netns: Use net_eq() to compare net-namespaces for optimization. 2008-07-19 22:34:43 -07:00
x25_facilities.c [X25]: Avoid divides and sparse warnings 2008-01-28 15:02:03 -08:00
x25_forward.c [X25]: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:53 -08:00
x25_in.c net: Cleanup redundant tests on unsigned 2009-10-29 01:39:53 -07:00
x25_link.c [X25]: use LIST_HEAD instead of LIST_HEAD_INIT 2008-01-28 14:56:53 -08:00
x25_out.c [SK_BUFF]: Introduce skb_copy_to_linear_data{_offset} 2007-04-25 22:28:29 -07:00
x25_proc.c net: correct off-by-one write allocations reports 2009-06-18 00:29:12 -07:00
x25_route.c X25: Fix oops and refcnt problems from x25_dev_get 2009-11-29 00:25:02 -08:00
x25_subr.c X25: Enable setting of cause and diagnostic fields 2009-11-18 23:30:41 -08:00
x25_timer.c x25: Fix sleep from timer on socket destroy. 2009-06-16 05:40:30 -07:00