mac80211: common work skb freeing
All the management processing functions free the skb after they are done, so this can be done in the new common code instead. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:

committed by
John W. Linville

parent
1fa57d0173
commit
36b3a628a4
@@ -738,9 +738,10 @@ static void ieee80211_iface_work(struct work_struct *work)
|
||||
break;
|
||||
default:
|
||||
WARN(1, "frame for unexpected interface type");
|
||||
kfree_skb(skb);
|
||||
break;
|
||||
}
|
||||
|
||||
kfree_skb(skb);
|
||||
}
|
||||
|
||||
/* then other type-dependent work */
|
||||
|
Reference in New Issue
Block a user