Skip to content
Commit 9aaef50c authored by Guillaume Nault's avatar Guillaume Nault Committed by David S. Miller
Browse files

l2tp: define parameters of l2tp_session_get*() as "const"



Make l2tp_pernet()'s parameter constant, so that l2tp_session_get*() can
declare their "net" variable as "const".
Also constify "ifname" in l2tp_session_get_by_ifname().

Signed-off-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a446c51
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