summaryrefslogtreecommitdiff
path: root/lib/lockref.c
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2017-04-12 11:05:29 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-12 17:44:02 +0300
commit9aaef50c44f132e040dcd7686c8e78a3390037c5 (patch)
tree062f935e6b69d0a457ccd1f105593e553220a55b /lib/lockref.c
parent2a446c51901a7d0849ffe75aa41fdeb71a5b37d1 (diff)
downloadlinux-9aaef50c44f132e040dcd7686c8e78a3390037c5.tar.xz
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: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/lockref.c')
0 files changed, 0 insertions, 0 deletions