提交 45c24903 编写于 作者: D David Woodhouse 提交者: David S. Miller

libertas: free successfully transmitted skbs again

I was so busy cleaning up the failure modes that I accidentally forgot
to make sure we still free them in the success case. Oops.
Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 a97bcfed
......@@ -161,7 +161,9 @@ int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* Keep the skb around for when we get feedback */
priv->currenttxskb = skb;
}
} else
dev_kfree_skb_any(skb);
}
spin_unlock_irqrestore(&priv->driver_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册