Re: [PATCH] mac80211: fix locking in update_vlan_tailroom_need_count()

2015-06-21 Thread David Miller
From: Johannes Berg Date: Wed, 17 Jun 2015 13:54:54 +0200 > From: Johannes Berg > > Unfortunately, Michal's change to fix AP_VLAN crypto tailroom > caused a locking issue that was reported by lockdep, but only > in a few cases - the issue was a classic ABBA deadlock caused > by taking the mtx a

[PATCH] mac80211: fix locking in update_vlan_tailroom_need_count()

2015-06-17 Thread Johannes Berg
From: Johannes Berg Unfortunately, Michal's change to fix AP_VLAN crypto tailroom caused a locking issue that was reported by lockdep, but only in a few cases - the issue was a classic ABBA deadlock caused by taking the mtx after the key_mtx, where normally they're taken the other way around. As