aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorJames Chapman <[email protected]>2024-06-20 11:22:44 +0000
committerDavid S. Miller <[email protected]>2024-06-21 10:33:34 +0000
commitd18d3f0a24fc4a3513495892ab1a3753628b341b (patch)
treee3f2478c6e780179fa50659e2684dd4743ec4005 /tools/testing/selftests/net/lib/py/utils.py
parentl2tp: drop the now unused l2tp_tunnel_get_session (diff)
downloadkernel-d18d3f0a24fc4a3513495892ab1a3753628b341b.tar.gz
kernel-d18d3f0a24fc4a3513495892ab1a3753628b341b.zip
l2tp: replace hlist with simple list for per-tunnel session list
The per-tunnel session list is no longer used by the datapath. However, we still need a list of sessions in the tunnel for l2tp_session_get_nth, which is used by management code. (An alternative might be to walk each session IDR list, matching only sessions of a given tunnel.) Replace the per-tunnel hlist with a per-tunnel list. In functions which walk a list of sessions of a tunnel, walk this list instead. Signed-off-by: James Chapman <[email protected]> Reviewed-by: Tom Parkin <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions