]> 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)
commit1d7a31cea59f1028fb398c83886caa047431fbf0
tree53ff33acdbdd92715d16149048d9bff183996432
parentf90a842e074b823d5afabdbe14c92c783ed7fe06
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]