]> git.baikalelectronics.ru Git - kernel.git/commit
mptcp: move crypto test to KUNIT
authorPaolo Abeni <pabeni@redhat.com>
Fri, 26 Jun 2020 17:30:01 +0000 (19:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jun 2020 23:21:39 +0000 (16:21 -0700)
commita3537bc0e1c863d64343b0df5411a53ed84f53d8
tree53ff33acdbdd92715d16149048d9bff183996432
parent43daacf018af7d6ba56de35d28d463a8d2559e9d
mptcp: move crypto test to KUNIT

currently MPTCP uses a custom hook to executed unit tests at
boot time. Let's use the KUNIT framework instead.
Additionally move the relevant code to a separate file and
export the function needed by the test when self-tests
are build as a module.

Co-developed-by: Matthieu Baerts <matthieu.baerts@tessares.net>
Signed-off-by: Matthieu Baerts <matthieu.baerts@tessares.net>
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/crypto.c
net/mptcp/crypto_test.c [new file with mode: 0644]