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)
commit90e3012e94be0755a516f60f5339a2a08f4a7d0a
tree0b9cb4ea1da7f9de98bf0abd1e81133d7eeed484
parent3bfbe80e4462c22e5dc42a00b2b394e347f4aa09
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