aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mac80211_hwsim.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-06-30 16:55:52 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:48 -0400
commitc0acf38e0ba42f93d8d56a6db2e2116ea1b23961 (patch)
tree0fdc06d13273db1469d1e24d1f7278a8ec300bd2 /drivers/net/wireless/mac80211_hwsim.c
parent293dc5dfdbcc16cde06e40a688394cc8ab083e48 (diff)
mac80211_hwsim: fix-up build damage from removal of skb->dst
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r--drivers/net/wireless/mac80211_hwsim.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c
index 1b59edc916c0..93c1c4a73e6c 100644
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
@@ -413,8 +413,7 @@ static bool mac80211_hwsim_tx_frame(struct ieee80211_hw *hw,
413 413
414 /* release the skb's source info */ 414 /* release the skb's source info */
415 skb_orphan(skb); 415 skb_orphan(skb);
416 dst_release(skb->dst); 416 skb_dst_drop(skb);
417 skb->dst = NULL;
418 skb->mark = 0; 417 skb->mark = 0;
419 secpath_reset(skb); 418 secpath_reset(skb);
420 nf_reset(skb); 419 nf_reset(skb);