mac80211_hwsim: clean up the skb before passing it back
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 18 Jun 2009 12:51:12 +0000 (14:51 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:41 +0000 (15:01 -0400)
commit831299d7c9db278e87074548dd1fa92c6e4547ba
tree0b9cb4ea1da7f9de98bf0abd1e81133d7eeed484
parent3de9e4a745d18fd8e3048e6a52ec03c35704cee4
mac80211_hwsim: clean up the skb before passing it back

We need to clean up the skb before we can copy it, this
is required for proper operation since the socket it is
still attached to could potentially live in a different
network namespace or so.

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