]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
blackhole_dev: add a selftest
authorMahesh Bandewar <maheshb@google.com>
Mon, 1 Jul 2019 21:39:01 +0000 (14:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2019 02:34:46 +0000 (19:34 -0700)
commit509e56b37cc32c9b5fc2be585c25d1e60d6a1d73
tree30d85bf915bacf13f14ea2d3c40bbc68815d799d
parent8d7017fd621d02ff0d47d19484350c2356828483
blackhole_dev: add a selftest

Since this is not really a device with all capabilities, this test
ensures that it has *enough* to make it through the data path
without causing unwanted side-effects (read crash!).

Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/Kconfig.debug
lib/Makefile
lib/test_blackhole_dev.c [new file with mode: 0644]
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/config
tools/testing/selftests/net/test_blackhole_dev.sh [new file with mode: 0755]