Skip to content

mptcp: token container refactor

Paolo Abeni mptcp 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v14 patches 16 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mptcp: add __init annotation on setup functionsnet/mptcp/pm.c net/mptcp/pm_netlink.c net/mptcp/protocol.c +2 more+10 -100 replies
2/4mptcp: refactor token container.net/mptcp/protocol.c net/mptcp/protocol.h net/mptcp/subflow.c +1 more+210 -940 replies
3/4mptcp: move crypto test to KUNITnet/mptcp/Kconfig net/mptcp/Makefile net/mptcp/crypto.c +1 more+90 -670 replies
4/4mptcp: introduce token KUNIT self-testsnet/mptcp/Makefile net/mptcp/token.c net/mptcp/token_test.c+149 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [MPTCP] [PATCH v3 0/4] mptcp: token container refactor

This series supersede the RTC patch for token refactor. The relevant patch is unchanged, but this additional bring in some related minor cleanup (patch 1/4) and KUNIT (!!!) self-tests (4/4). To make things cleaner it also moves the existing in-kernel tests (crypto) to KUNIT.

only changes from v2 are some comments in patch 2/4 and patch 3/4 rebased.

Paolo Abeni (4):
mptcp: add __init annotation on setup functions
mptcp: refactor token container.
mptcp: move crypto test to KUNIT
mptcp: introduce token KUNIT self-tests

 net/mptcp/Kconfig       |  19 ++-
 net/mptcp/Makefile      |   4 +
 net/mptcp/crypto.c      |  63 +---------
 net/mptcp/crypto_test.c |  72 +++++++++++
 net/mptcp/pm.c          |   2 +-
 net/mptcp/pm_netlink.c  |   2 +-
 net/mptcp/protocol.c    |  39 +++---
 net/mptcp/protocol.h    |  15 ++-
 net/mptcp/subflow.c     |  12 +-
 net/mptcp/token.c       | 263 +++++++++++++++++++++++++++++-----------
 net/mptcp/token_test.c  | 138 +++++++++++++++++++++
 11 files changed, 458 insertions(+), 171 deletions(-)
 create mode 100644 net/mptcp/crypto_test.c
 create mode 100644 net/mptcp/token_test.c
Signature · 1 line
2.21.3