Re: [PATCH net-next] l2tp: device MTU setup, tunnel socket needs a lock

From: David Miller
Date: Mon Apr 17 2017 - 13:02:49 EST


From: "R. Parameswaran" <parameswaran.r7@xxxxxxxxx>
Date: Wed, 12 Apr 2017 18:31:04 -0700 (PDT)

>
> The MTU overhead calculation in L2TP device set-up
> merged via commit b784e7ebfce8cfb16c6f95e14e8532d0768ab7ff
> needs to be adjusted to lock the tunnel socket while
> referencing the sub-data structures to derive the
> socket's IP overhead.
>
> Reported-by: Guillaume Nault <g.nault@xxxxxxxxxxxx>
> Tested-by: Guillaume Nault <g.nault@xxxxxxxxxxxx>
> Signed-off-by: R. Parameswaran <rparames@xxxxxxxxxxx>

Applied, thanks.