diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2017-04-12 11:05:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-12 17:44:02 +0300 |
commit | 9aaef50c44f132e040dcd7686c8e78a3390037c5 (patch) | |
tree | 062f935e6b69d0a457ccd1f105593e553220a55b /lib/lockref.c | |
parent | 2a446c51901a7d0849ffe75aa41fdeb71a5b37d1 (diff) | |
download | linux-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