OSDN Git Service

mptcp: introduce token KUNIT self-tests
authorPaolo Abeni <pabeni@redhat.com>
Fri, 26 Jun 2020 17:30:02 +0000 (19:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 23:21:39 +0000 (16:21 -0700)
commita8ee9c9b58199be2692f7eb761d7a01749f79655
tree9b220d6dc36b86b356bdabe65e1e75457a83cceb
parenta00a582203dbc43ea311a50e979038fc0c8ee19f
mptcp: introduce token KUNIT self-tests

Unit tests for the internal MPTCP token APIs, using KUNIT

v1 -> v2:
 - use the correct RCU annotation when initializing icsk ulp
 - fix a few checkpatch issues

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Reviewed-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mptcp/Kconfig
net/mptcp/Makefile
net/mptcp/token.c
net/mptcp/token_test.c [new file with mode: 0644]