Re: [PATCH] ipv6: Prevent overrun when parsing v6 header options

From: Herbert Xu
Date: Fri May 31 2019 - 10:58:20 EST


On Fri, May 31, 2019 at 07:50:06AM -0700, Eric Dumazet wrote:
>
> What do you mean by should ?
>
> Are they currently already linearized before the function is called,
> or is it missing and a bug needs to be fixed ?

AFAICS this is the code-path for locally generated outbound packets.
Under what circumstances can the IPv6 header be not in the head?

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt