l2tp: define parameters of l2tp_tunnel_find*() as "const"
authorGuillaume Nault <g.nault@alphalink.fr>
Wed, 12 Apr 2017 08:05:30 +0000 (10:05 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Apr 2017 14:44:02 +0000 (10:44 -0400)
commit2f858b928bf5a8174911aaec76b8b72a9ca0533d
treefca6872a1a8a2fcbddf04e540e79b070485d4e55
parent9aaef50c44f132e040dcd7686c8e78a3390037c5
l2tp: define parameters of l2tp_tunnel_find*() as "const"

l2tp_tunnel_find() and l2tp_tunnel_find_nth() don't modify "net".

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h