All of lore.kernel.org
 help / color / mirror / Atom feed
* [MPTCP] [PATCH v2 0/4] mptcp: token container refactor
@ 2020-05-25 17:35 Paolo Abeni
  0 siblings, 0 replies; only message in thread
From: Paolo Abeni @ 2020-05-25 17:35 UTC (permalink / raw)
  To: mptcp

[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]

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.

The most relevant changes from v1 are in patch 2/4.

This addresses most of the issues raised by Christoph, Davide and Mat, with the
notable exception of shirinking the hash table bucket size - I'm unable to do
that with the current fixes for the list curruption noted by Christoph.

I hope the trade-off beween the self-contained fix and the avoided memory
optimization is acceptable.

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      |  65 +---------
 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       | 258 ++++++++++++++++++++++++++++------------
 net/mptcp/token_test.c  | 138 +++++++++++++++++++++
 11 files changed, 453 insertions(+), 173 deletions(-)
 create mode 100644 net/mptcp/crypto_test.c
 create mode 100644 net/mptcp/token_test.c

-- 
2.21.3

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-25 17:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25 17:35 [MPTCP] [PATCH v2 0/4] mptcp: token container refactor Paolo Abeni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.