commit | 9aaef50c44f132e040dcd7686c8e78a3390037c5 | [log] [tgz] |
---|---|---|
author | Guillaume Nault <g.nault@alphalink.fr> | Wed Apr 12 10:05:29 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 12 10:44:02 2017 -0400 |
tree | 062f935e6b69d0a457ccd1f105593e553220a55b | |
parent | 2a446c51901a7d0849ffe75aa41fdeb71a5b37d1 [diff] |
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>