diff options
author | Johannes Berg <johannes.berg@intel.com> | 2010-06-10 04:21:33 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:26 -0400 |
commit | 36b3a628a4e85d002ee8813ebd2a5caef6d3c1a7 (patch) | |
tree | 927219d1cf6ef466ec574c8172365fa1b37d53be /net/mac80211/mesh.c | |
parent | 1fa57d017366fb26b58af110a38b36a4f0214a62 (diff) |
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>
Diffstat (limited to 'net/mac80211/mesh.c')
-rw-r--r-- | net/mac80211/mesh.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/mac80211/mesh.c b/net/mac80211/mesh.c index 0f1f593c8477..83b346cc4860 100644 --- a/net/mac80211/mesh.c +++ b/net/mac80211/mesh.c | |||
@@ -620,8 +620,6 @@ void ieee80211_mesh_rx_queued_mgmt(struct ieee80211_sub_if_data *sdata, | |||
620 | ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status); | 620 | ieee80211_mesh_rx_mgmt_action(sdata, mgmt, skb->len, rx_status); |
621 | break; | 621 | break; |
622 | } | 622 | } |
623 | |||
624 | kfree_skb(skb); | ||
625 | } | 623 | } |
626 | 624 | ||
627 | void ieee80211_mesh_work(struct ieee80211_sub_if_data *sdata) | 625 | void ieee80211_mesh_work(struct ieee80211_sub_if_data *sdata) |