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:   Tue, 30 Jun 2020 12:02:01 -0400
From:   Willem de Bruijn <>
To:     "Jason A. Donenfeld" <>
Cc:     Network Development <>,
        David Miller <>,
        Hans Wippel <>
Subject: Re: [PATCH net v2 2/8] net: ipip: implement header_ops->parse_protocol

On Mon, Jun 29, 2020 at 9:06 PM Jason A. Donenfeld <> wrote:
> Ipip uses skb->protocol to determine packet type, and bails out if it's
> not set. For AF_PACKET injection, we need to support its call chain of:
>     packet_sendmsg -> packet_snd -> packet_parse_headers ->
>       dev_parse_header_protocol -> parse_protocol
> Without a valid parse_protocol, this returns zero, and ipip rejects the
> skb. So, this wires up the ip_tunnel handler for layer 3 packets for
> that case.
> Signed-off-by: Jason A. Donenfeld <>

Acked-by: Willem de Bruijn <>

For all protocols, really. But it probably doesn't add much to repeat
this in each patch.

Powered by blists - more mailing lists