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-KkKeqtPeLptTXNFy4igG4d_-7P-7D-cnMDCrODvd-qzA@mail.gmail.com>
Date:   Fri, 22 Mar 2019 11:47:48 -0400
From:   Willem de Bruijn <willemdebruijn.kernel@...il.com>
To:     Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc:     Network Development <netdev@...r.kernel.org>,
        Alexei Starovoitov <ast@...nel.org>,
        Daniel Borkmann <daniel@...earbox.net>,
        Alan Maguire <alan.maguire@...cle.com>,
        Willem de Bruijn <willemb@...gle.com>
Subject: Re: [PATCH bpf-next v2 09/13] bpf: add bpf_skb_adjust_room encap flags

On Fri, Mar 22, 2019 at 11:44 AM Alexei Starovoitov
<alexei.starovoitov@...il.com> wrote:
>
> On Fri, Mar 22, 2019 at 8:15 AM Willem de Bruijn
> <willemdebruijn.kernel@...il.com> wrote:
> >
> > +#define BPF_F_ADJ_ROOM_ENCAP_L3_IPV4   (1ULL << 1)
> > +#define BPF_F_ADJ_ROOM_ENCAP_L3_IPV6   (1ULL << 2)
> > +#define BPF_F_ADJ_ROOM_ENCAP_L3_MASK   (BPF_F_ADJ_ROOM_ENCAP_L3_IPV4 | \
> > +                                        BPF_F_ADJ_ROOM_ENCAP_L3_IPV6)
>
> mask is still in uapi...

That's only the L3 MASK, which captures ipv4 or ipv6. I don't see that
being expanded.

BPF_F_ADJ_ROOM_MASK was moved to net/core/filter.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ