summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2024-08-07 09:54:49 +0300
committerDavid S. Miller <davem@davemloft.net>2024-08-11 06:38:49 +0300
commit1f4c3dce9112d23145b4f8bbfd3793a1c4c517ab (patch)
tree9926262d0fa1001500bea346f7335c53b7733c04 /include/linux/overflow.h
parentaa92c1cec92b146fe499fb693688d6d3d6bafad9 (diff)
downloadlinux-1f4c3dce9112d23145b4f8bbfd3793a1c4c517ab.tar.xz
l2tp: use get_next APIs for management requests and procfs/debugfs
l2tp netlink and procfs/debugfs iterate over tunnel and session lists to obtain data. They currently use very inefficient get_nth functions to do so. Replace these with get_next. For netlink, use nl cb->ctx[] for passing state instead of the obsolete cb->args[]. l2tp_tunnel_get_nth and l2tp_session_get_nth are no longer used so they can be removed. Signed-off-by: James Chapman <jchapman@katalix.com> Signed-off-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions