[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170610.155737.1892054314418865822.davem@davemloft.net>
Date: Sat, 10 Jun 2017 15:57:37 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: steffen.klassert@...unet.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v4.11 -stable] esp4: Fix udpencap for local TCP packets.
From: Steffen Klassert <steffen.klassert@...unet.com>
Date: Fri, 9 Jun 2017 11:35:46 +0200
> Locally generated TCP packets are usually cloned, so we
> do skb_cow_data() on this packets. After that we need to
> reload the pointer to the esp header. On udpencap this
> header has an offset to skb_transport_header, so take this
> offset into account.
>
> This is a backport of:
> commit 0e78a87306a ("esp4: Fix udpencap for local TCP packets.")
>
> Fixes: 67d349ed603 ("net/esp4: Fix invalid esph pointer crash")
> Fixes: fca11ebde3f0 ("esp4: Reorganize esp_output")
> Reported-by: Don Bowman <db@...bowman.ca>
> Signed-off-by: Steffen Klassert <steffen.klassert@...unet.com>
Queued up for -stable, thanks Steffen.
Powered by blists - more mailing lists