veth: use xdp_release_frame for XDP_PASS
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 18 Jun 2019 13:05:32 +0000 (15:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Jun 2019 15:23:13 +0000 (11:23 -0400)
commitcbf3351067cea1a58862b2c7667b479a358a2071
treef16ad9f0b493a18e06e2ec521e07aaed4d76700b
parent6bf071bf09d4b2ff3ee8783531e2ce814f0870cb
veth: use xdp_release_frame for XDP_PASS

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/veth.c