提交 c0acf38e 编写于 作者: J John W. Linville

mac80211_hwsim: fix-up build damage from removal of skb->dst

Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 293dc5df
...@@ -413,8 +413,7 @@ static bool mac80211_hwsim_tx_frame(struct ieee80211_hw *hw, ...@@ -413,8 +413,7 @@ static bool mac80211_hwsim_tx_frame(struct ieee80211_hw *hw,
/* release the skb's source info */ /* release the skb's source info */
skb_orphan(skb); skb_orphan(skb);
dst_release(skb->dst); skb_dst_drop(skb);
skb->dst = NULL;
skb->mark = 0; skb->mark = 0;
secpath_reset(skb); secpath_reset(skb);
nf_reset(skb); nf_reset(skb);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册