lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 07 Dec 2018 00:26:07 +0100
From:   Jesper Dangaard Brouer <>
To:, "David S. Miller" <>,
        Jesper Dangaard Brouer <>
Cc:     Toke Høiland-Jørgensen <>,, Jason Wang <>,,
        BjörnTöpel <>,, Saeed Mahameed <>,,
        Daniel Borkmann <>,
        Alexei Starovoitov <>,
        Tariq Toukan <>
Subject: [net-next PATCH RFC 8/8] veth: xdp_frames redirected into veth need
 to transfer xdp_mem_info

XDP frames redirected into a veth device, that choose XDP_PASS end-up
creating an SKB from the xdp_frame.  The xdp_frame mem info need to be
transferred into the SKB.

Signed-off-by: Jesper Dangaard Brouer <>
Signed-off-by: Ilias Apalodimas <>
 drivers/net/veth.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/veth.c b/drivers/net/veth.c
index f412ea1cef18..925d300402ca 100644
--- a/drivers/net/veth.c
+++ b/drivers/net/veth.c
@@ -555,6 +555,7 @@ static struct sk_buff *veth_xdp_rcv_one(struct veth_rq *rq,
 		goto err;
+	skb->mem_info = frame->mem;
 	skb->protocol = eth_type_trans(skb, rq->dev);

Powered by blists - more mailing lists