[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+FuTSfqMRtbJFPiAGyPKpoKjxcVQp_YYXD5Xtj0bHmSQBMpkQ@mail.gmail.com>
Date: Thu, 25 Jul 2019 09:48:32 -0400
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
To: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Network Development <netdev@...r.kernel.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ipip: validate header length in ipip_tunnel_xmit
On Wed, Jul 24, 2019 at 11:09 PM Haishuang Yan
<yanhaishuang@...s.chinamobile.com> wrote:
>
> We need the same checks introduced by commit cb9f1b783850
> ("ip: validate header length on virtual device xmit") for
> ipip tunnel.
Fixes: cb9f1b783850b ("ip: validate header length on virtual device xmit")
> Signed-off-by: Haishuang Yan <yanhaishuang@...s.chinamobile.com>
Good catch. reg_vif_xmit in net/ipv4/ipmr.c probably also needs it.
All other ndo_start_xmit under net/ipv4 and net/ipv6 have this check
as of the above commit.
Powered by blists - more mailing lists