diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-08-10 13:21:55 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-11 12:13:49 -0700 |
commit | d6a61ec936676dbe25a6eb76e1229787dc2fbba8 (patch) | |
tree | 6365ef6a97498aee99a5131bef45375d72d3d65a /COPYING | |
parent | 8a8982d1e2137aa020dd9fbc96b5e3c4fd871d0c (diff) | |
download | linux-d6a61ec936676dbe25a6eb76e1229787dc2fbba8.tar.gz linux-d6a61ec936676dbe25a6eb76e1229787dc2fbba8.tar.bz2 linux-d6a61ec936676dbe25a6eb76e1229787dc2fbba8.zip |
l2tp: define l2tp_tunnel_uses_xfrm()
Use helper function to figure out if a tunnel is using ipsec.
Also, avoid accessing ->sk_policy directly since it's RCU protected.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions