]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix monitor interface suspend crash regression
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 23 Jul 2013 11:56:50 +0000 (13:56 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 23 Jul 2013 12:02:08 +0000 (14:02 +0200)
commit82bb0a31f3574cc8d979d94d654ac675738d923a
treeb6e027bf20bb1d00f060dba3e12fc9b4650c1ab1
parent9fb4eaf3c9f144e4e86ca139d0c5b4ee7edde3b1
mac80211: fix monitor interface suspend crash regression

My commit:

commit d29deaa307fcc31449b73d0a67f2eed08fb86777
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Thu Feb 28 10:55:26 2013 +0100

    mac80211: cleanup generic suspend/resume procedures

removed check for deleting MONITOR and AP_VLAN when suspend. That can
cause a crash (i.e. in iwlagn_mac_remove_interface()) since we remove
interface in the driver that we did not add before.

Reference:
http://marc.info/?l=linux-kernel&m=137391815113860&w=2

Bisected-by: Ortwin Glück <odi@odi.ch>
Reported-and-tested-by: Ortwin Glück <odi@odi.ch>
Cc: stable@vger.kernel.org # 3.10
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/pm.c