Re: [PATCH] net: geneve: modify IP header check in geneve6_xmit_skb
From: Phillip Potter
Date: Thu Apr 22 2021 - 16:58:28 EST
On Thu, Apr 22, 2021 at 08:43:57AM +0200, Eric Dumazet wrote:
> On Thu, Apr 22, 2021 at 1:11 AM Phillip Potter <phil@xxxxxxxxxxxxxxxx> wrote:
> >
> > Modify the check in geneve6_xmit_skb to use the size of a struct iphdr
> > rather than struct ipv6hdr. This fixes two kernel selftest failures
> > introduced by commit 6628ddfec758
> > ("net: geneve: check skb is large enough for IPv4/IPv6 header"), without
> > diminishing the fix provided by that commit.
> >
> > Reported-by: kernel test robot <oliver.sang@xxxxxxxxx>
> > Signed-off-by: Phillip Potter <phil@xxxxxxxxxxxxxxxx>
>
> SGTM, but _please_ add a Fixes: tag, since stable teams now depend on this,
> more than human parsing the changelog.
>
> Fixes: 6628ddfec758 ("net: geneve: check skb is large enough for
> IPv4/IPv6 header")
>
Dear Eric,
Thank you for your feedback, I will make sure the new patch has the
Fixes: tag in it.
Regards,
Phil