linux/net
Inaky Perez-Gonzalez 1d7b33f77b wimax: fix oops in wimax_dev_get_by_genl_info() when looking up non-wimax iface
When a non-wimax interface is looked up by the stack, a bad pointer is
returned when the looked-up interface is not found in the list (of
registered WiMAX interfaces). This causes an oops in the caller when
trying to use the pointer.

Fix by properly setting the pointer to NULL if we don't exit from the
list_for_each() with a found entry.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-02-12 17:00:20 -08:00
..
9p 9p: fix endian issues [attempt 3] 2009-02-06 22:07:41 -08:00
802
8021q
appletalk
atm
ax25
bluetooth
bridge bridge: Fix LRO crash with tun 2009-02-09 15:07:18 -08:00
can
core net: 4 bytes kernel memory disclosure in SO_BSDCOMPAT gsopt try #2 2009-02-12 16:59:09 -08:00
dcb
dccp
decnet
dsa
econet
ethernet
ipv4 udp: Fix potential wrong ip_hdr(skb) pointers 2009-02-06 01:59:12 -08:00
ipv6 IPv6: fix to set device name when new IPv6 over IPv6 tunnel device is created. 2009-02-09 15:01:19 -08:00
ipx
irda
iucv
key
lapb
llc
mac80211 mac80211: restrict to AP in outgoing interface heuristic 2009-02-11 11:27:17 -05:00
netfilter netfilter: xt_sctp: sctp chunk mapping doesn't work 2009-02-09 14:34:56 -08:00
netlabel
netlink
netrom
packet
phonet Phonet: do not compute unused value 2009-02-10 17:14:50 -08:00
rfkill
rose
rxrpc RxRPC: Fix a potential NULL dereference 2009-02-06 21:50:52 -08:00
sched
sctp
sunrpc sunrpc: fix rdma dependencies 2009-02-03 15:20:13 -08:00
tipc
unix
wanrouter
wimax wimax: fix oops in wimax_dev_get_by_genl_info() when looking up non-wimax iface 2009-02-12 17:00:20 -08:00
wireless
x25
xfrm
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE