Message ID | 156045050726.29115.1623203277975334291.stgit@firesoul |
---|---|
State | Changes Requested |
Delegated to: | David Miller |
Headers | show |
Series | [net-next,v1,01/11] net: page_pool: add helper function to retrieve dma addresses | expand |
diff --git a/drivers/net/veth.c b/drivers/net/veth.c index 52110e54e621..c6916bf1017b 100644 --- a/drivers/net/veth.c +++ b/drivers/net/veth.c @@ -547,6 +547,7 @@ static struct sk_buff *veth_xdp_rcv_one(struct veth_rq *rq, goto err; } + xdp_release_frame(frame); xdp_scrub_frame(frame); skb->protocol = eth_type_trans(skb, rq->dev); err:
Like cpumap use xdp_release_frame() when an xdp_frame got converted into an SKB and send towars the network stack. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> --- drivers/net/veth.c | 1 + 1 file changed, 1 insertion(+)