linux/net
YOSHIFUJI Hideaki / 吉藤英明 2f787b0b76 mac80211: Ensure initializing private mc_list in prepare_multicast().
Fix kernel panic by NULL pointer dereference in the context of
ieee80211_ops->prepare_multicast().

This bug was introduced by commit 22bedad3c.. ("net: convert
multicast list to list_head").

Call __hw_addr_init() in ieee80211_alloc_hw() to initialize
list_head of private device multicast list, like we do in
bond_init().

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Reviewed-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-06 00:12:30 -07:00
..
9p 9p: Change the name of new protocol from 9p2010.L to 9p2000.L 2010-03-13 08:57:29 -06:00
802 net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
8021q net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
appletalk net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
atm atm: Use kasprintf 2010-03-21 18:34:15 -07:00
ax25 net: ax25: use seq_hlist_foo() helpers 2010-02-10 11:12:09 -08:00
bluetooth net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
bridge bridge: cleanup: remove unused assignment 2010-03-21 21:21:58 -07:00
caif net-caif: using kmalloc/kfree requires the include of slab.h 2010-04-01 00:28:49 -07:00
can can: deny filterlist access on non-CAN interfaces 2010-02-02 07:21:34 -08:00
core net: Add a missing local_irq_enable() 2010-04-05 15:42:39 -07:00
dcb const: struct nla_policy 2010-02-18 14:30:18 -08:00
dccp net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
decnet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
dsa net: move address list functions to a separate file 2010-04-03 14:22:11 -07:00
econet net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ethernet llc: use dev_hard_header 2009-12-26 20:38:23 -08:00
ieee802154 net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
ipv4 icmp: Account for ICMP out errors 2010-04-03 15:09:04 -07:00
ipv6 icmp: Account for ICMP out errors 2010-04-03 15:09:04 -07:00
ipx net: ipx: use seq_list_foo() helpers 2010-02-10 12:31:10 -08:00
irda net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
iucv const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
key xfrm: SP lookups signature with mark 2010-02-22 16:21:12 -08:00
l2tp l2tp: unmanaged L2TPv3 tunnels fixes 2010-04-04 01:02:46 -07:00
lapb net: remove NET_RX_BAD and NET_RX_CN* defines 2009-07-05 19:15:35 -07:00
llc llc: cleanup: remove dead code from llc_init() 2010-03-24 13:34:08 -07:00
mac80211 mac80211: Ensure initializing private mc_list in prepare_multicast(). 2010-04-06 00:12:30 -07:00
netfilter netfilter: ctnetlink: fix reliable event delivery if message building fails 2010-03-20 14:29:03 -07:00
netlabel net: remove INIT_RCU_HEAD() usage 2010-02-17 00:03:27 -08:00
netlink netlink: Export genl_lock() API for use by modules 2010-04-03 14:56:05 -07:00
netrom net: netrom: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
packet net: convert multicast list to list_head 2010-04-03 14:22:15 -07:00
phonet phonet: use for_each_set_bit() 2010-03-15 16:00:47 -07:00
rds rds: cleanup: remove unneeded variable 2010-03-24 13:34:09 -07:00
rfkill rename new rfkill sysfs knobs 2010-03-19 15:48:25 -04:00
rose net: rose: use seq_hlist_foo() helpers 2010-02-10 11:12:08 -08:00
rxrpc net: use net_eq to compare nets 2009-11-25 15:14:13 -08:00
sched gen_estimator: deadlock fix 2010-04-01 18:38:48 -07:00
sctp SCTP: Change to use ipv6_addr_copy() 2010-04-03 15:10:21 -07:00
sunrpc net: remove trailing space in messages 2010-03-24 14:01:54 -07:00
tipc tipc: define needless global scoped variable static 2010-03-30 23:58:22 -07:00
unix AF_UNIX: update locking comment 2010-02-18 14:12:06 -08:00
wanrouter headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
wimax wimax: remove unneeded variable 2010-03-24 13:34:09 -07:00
wireless cfg80211: Add connection quality monitoring support to nl80211 2010-03-24 16:02:37 -04:00
x25 net: backlog functions rename 2010-03-05 13:34:03 -08:00
xfrm xfrm: remove policy lock when accessing policy->walk.dead 2010-04-01 19:41:35 -07:00
compat.c net: use compat helper functions in compat_sys_recvmmsg 2009-12-11 15:07:57 -08:00
Kconfig l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
Makefile l2tp: Split pppol2tp patch into separate l2tp and ppp parts 2010-04-03 14:56:02 -07:00
nonet.c
socket.c fs: no games with DCACHE_UNHASHED 2009-12-17 10:51:40 -05:00
sysctl_net.c net: spread __net_init, __net_exit 2010-01-17 19:16:02 -08:00
TUNABLE