Skip to content

l2tp: misc improvements

James Chapman linux-doc netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 7 repliesApplied 9/9
  2. v19 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Add missing CCs to documentation patch. (pw-bot)
- Remove inline keyword from functions in c source code. (pw-bot)
- Wrap long lines to keep within the char limit. (horms)
- Remove Fixes tag in "handle hash key collisions" patch. (horms)
- Retarget "l2tp: fix lockdep splat" to the net tree. (horms)
- Modify incorrect Fixes tag in "flush workqueue" patch.
v1: https://lore.kernel.org/netdev/[email protected]/

Patches in v2 All 9 applied

#Subject and filesSizeRepliesApplied
1/9documentation/networking: update l2tp docsDocumentation/networking/l2tp.rst+20 -340 repliesApplied
2/9l2tp: remove inline from functions in c sourcesnet/l2tp/l2tp_core.c net/l2tp/l2tp_ip.c net/l2tp/l2tp_ip6.c +1 more+6 -60 repliesApplied
3/9l2tp: move l2tp_ip and l2tp_ip6 data to pernetnet/l2tp/l2tp_ip.c net/l2tp/l2tp_ip6.c+168 -500 repliesApplied
4/9l2tp: handle hash key collisions in l2tp_v3_session_getnet/l2tp/l2tp_core.c+2 -10 repliesApplied
5/9l2tp: add tunnel/session get_next helpersnet/l2tp/l2tp_core.c net/l2tp/l2tp_core.h+129 -00 repliesApplied
6/9l2tp: use get_next APIs for management requests and procfs/debugfsnet/l2tp/l2tp_core.c net/l2tp/l2tp_core.h net/l2tp/l2tp_debugfs.c +2 more+39 -694 repliesApplied
7/9l2tp: improve tunnel/session refcount helpersnet/l2tp/l2tp_core.c net/l2tp/l2tp_core.h net/l2tp/l2tp_debugfs.c +5 more+79 -930 repliesApplied
8/9l2tp: l2tp_eth: use per-cpu counters from dev->tstatsnet/l2tp/l2tp_eth.c+10 -220 repliesApplied
9/9l2tp: flush workqueue before draining itnet/l2tp/l2tp_core.c+9 -13 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/9] l2tp: misc improvements

This series makes several improvements to l2tp:

* update documentation to be consistent with recent l2tp changes.
* remove inline keyword from functions in c source code.
* move l2tp_ip socket tables to per-net data.
* handle hash key collisions in l2tp_v3_session_get
* implement and use get-next APIs for management and procfs/debugfs.
* improve l2tp refcount helpers.
* use per-cpu dev->tstats in l2tpeth devices.
* flush workqueue before draining it in l2tp_pre_exit_net. This fixes a change which was recently applied to net-next so isn't suitable for the net tree.

James Chapman (9):
documentation/networking: update l2tp docs
l2tp: remove inline from functions in c sources
l2tp: move l2tp_ip and l2tp_ip6 data to pernet
l2tp: handle hash key collisions in l2tp_v3_session_get
l2tp: add tunnel/session get_next helpers
l2tp: use get_next APIs for management requests and procfs/debugfs
l2tp: improve tunnel/session refcount helpers
l2tp: l2tp_eth: use per-cpu counters from dev->tstats
l2tp: flush workqueue before draining it

 Documentation/networking/l2tp.rst |  54 ++++-----
 net/l2tp/l2tp_core.c              | 187 +++++++++++++++++++++---------
 net/l2tp/l2tp_core.h              |  11 +-
 net/l2tp/l2tp_debugfs.c           |  24 ++--
 net/l2tp/l2tp_eth.c               |  42 +++----
 net/l2tp/l2tp_ip.c                | 116 +++++++++++++-----
 net/l2tp/l2tp_ip6.c               | 118 ++++++++++++++-----
 net/l2tp/l2tp_netlink.c           |  72 +++++++-----
 net/l2tp/l2tp_ppp.c               |  64 +++++-----
 9 files changed, 437 insertions(+), 251 deletions(-)

---
v2:
- Add missing CCs to documentation patch. (pw-bot)
- Remove inline keyword from functions in c source code. (pw-bot)
- Wrap long lines to keep within the char limit. (horms)
- Remove Fixes tag in "handle hash key collisions" patch. (horms)
- Retarget "l2tp: fix lockdep splat" to the net tree. (horms)
- Modify incorrect Fixes tag in "flush workqueue" patch.
v1: https://lore.kernel.org/netdev/[email protected]/

Signature · 1 line
2.34.1