mac80211: fix allmulti/promisc behaviour
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 16 Nov 2007 01:54:53 +0000 (02:54 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 20 Nov 2007 21:20:31 +0000 (16:20 -0500)
commitc1428b3f45d152a300e4f18638ebf30ceafda6c3
treeb20a916281f23052a0001771c95d49d3364960a9
parentb52f2198ac889561d341c6990d669a671f93f450
mac80211: fix allmulti/promisc behaviour

When an interface with promisc/allmulti bit is taken down,
the mac80211 state can become confused. This fixes it by
making mac80211 keep track of all *active* interfaces that
have the promisc/allmulti bit set in the sdata, we sync
the interface bit into sdata at set_multicast_list() time
so this works.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211.c