diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 8d009760277cede76fead3a54edf2c7669a7acbc..54bf0912b7373ec7bb6cfad5ffde55e1ba82203f 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -454,7 +454,7 @@ static unsigned int free_old_xmit_skbs(struct virtnet_info *vi) vi->dev->stats.tx_bytes += skb->len; vi->dev->stats.tx_packets++; tot_sgs += skb_vnet_hdr(skb)->num_sg; - kfree_skb(skb); + dev_kfree_skb_any(skb); } return tot_sgs; }