]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
mac80211_hwsim: fix-up build damage from removal of skb->dst
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Jun 2009 20:55:52 +0000 (16:55 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:48 +0000 (15:01 -0400)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c

index 1b59edc916c05f5ea77f0ae1ffd15223dbd5ca14..93c1c4a73e6c6dd346940488c83c5f65928dfbb6 100644 (file)
@@ -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);