lists.openwall.net   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  linux-hardening  linux-cve-announce  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]
Message-ID: <CAF=yD-LLzAheej1upLdBOeJc9d0RUXMrL9f9+QVC-4thj1EG5Q@mail.gmail.com>
Date:   Wed, 10 Feb 2021 09:50:43 -0500
From:   Willem de Bruijn <willemdebruijn.kernel@...il.com>
To:     huangxuesen <hxseverything@...il.com>
Cc:     David Miller <davem@...emloft.net>, bpf <bpf@...r.kernel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Network Development <netdev@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        huangxuesen <huangxuesen@...ishou.com>,
        Willem de Bruijn <willemb@...gle.com>,
        chengzhiyong <chengzhiyong@...ishou.com>,
        wangli <wangli09@...ishou.com>,
        Alan Maguire <alan.maguire@...cle.com>
Subject: Re: [PATCH/v2] bpf: add bpf_skb_adjust_room flag BPF_F_ADJ_ROOM_ENCAP_L2_ETH

On Wed, Feb 10, 2021 at 1:59 AM huangxuesen <hxseverything@...il.com> wrote:
>
> From: huangxuesen <huangxuesen@...ishou.com>
>
> bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets
> encapsulation. But that is not appropriate when pushing Ethernet header.
>
> Add an option to further specify encap L2 type and set the inner_protocol
> as ETH_P_TEB.
>
> Suggested-by: Willem de Bruijn <willemb@...gle.com>
> Signed-off-by: huangxuesen <huangxuesen@...ishou.com>
> Signed-off-by: chengzhiyong <chengzhiyong@...ishou.com>
> Signed-off-by: wangli <wangli09@...ishou.com>

Thanks, this is exactly what I meant.

Acked-by: Willem de Bruijn <willemb@...gle.com>

One small point regarding Signed-off-by: It is customary to capitalize
family and given names.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ