Skip to content

Commit

Permalink
mac80211_hwsim: fix-up build damage from removal of skb->dst
Browse files Browse the repository at this point in the history
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
John W. Linville committed Jul 10, 2009
1 parent 293dc5d commit c0acf38
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/net/wireless/mac80211_hwsim.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,7 @@ static bool mac80211_hwsim_tx_frame(struct ieee80211_hw *hw,

/* release the skb's source info */
skb_orphan(skb);
dst_release(skb->dst);
skb->dst = NULL;
skb_dst_drop(skb);
skb->mark = 0;
secpath_reset(skb);
nf_reset(skb);
Expand Down

0 comments on commit c0acf38

Please sign in to comment.