Messages in this thread | | | From | Willem de Bruijn <> | Date | Thu, 25 Jul 2019 09:48:32 -0400 | Subject | Re: [PATCH] ipip: validate header length in ipip_tunnel_xmit |
| |
On Wed, Jul 24, 2019 at 11:09 PM Haishuang Yan <yanhaishuang@cmss.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@cmss.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.
| |