Re: [PATCH 4.19.y] netfilter: nft_payload: do not update layer 4 checksum when mangling fragments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> On Fri, Jan 28, 2022 at 12:38:21PM +0100, Florian Westphal wrote:
> > From: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > 
> > commit 4e1860a3863707e8177329c006d10f9e37e097a8 upstream.
> > 
> > IP fragments do not come with the transport header, hence skip bogus
> > layer 4 checksum updates.
> > 
> > Fixes: 1814096980bb ("netfilter: nft_payload: layer 4 checksum adjustment for pseudoheader fields")
> > Reported-and-tested-by: Steffen Weinreich <steve@xxxxxxxxxxxxx>
> > Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>
> > Signed-off-by: Florian Westphal <fw@xxxxxxxxx>
> > ---
> >  This is already in the 5.y branches but 4.19 needs a minor
> >  tweak as ->fragoff member resides in xt sub-struct.
> 
> I don't see this commit in the 5.10 or 5.4 branches, am I missing
> something?

Oh, indeed.  Can you place this patch in 5.4 and 5.10 too?

Releases >= v5.14 should be covered given upstream commit works
as-is on those.

Thanks,
Florian



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux