Skip to content
Commit 57240d00 authored by R. Parameswaran's avatar R. Parameswaran Committed by David S. Miller
Browse files

l2tp: device MTU setup, tunnel socket needs a lock

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: default avatarGuillaume Nault <g.nault@alphalink.fr>
Tested-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
Signed-off-by: default avatarR. Parameswaran <rparames@brocade.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 4a6e3c5d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment