l2tp: device MTU setup, tunnel socket needs a lock
BugLink: https://bugs.launchpad.net/bugs/1883916 commit 57240d00 upstream. The MTU overhead calculation in L2TP device set-up merged via commit b784e7eb 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@alphalink.fr> Tested-by:
Guillaume Nault <g.nault@alphalink.fr> Signed-off-by:
R. Parameswaran <rparames@brocade.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Cc: Giuliano Procida <gprocida@google.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Kamal Mostafa <kamal@canonical.com> Signed-off-by:
Khalid Elmously <khalid.elmously@canonical.com>
Showing
Please register or sign in to comment