]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: Add packet rx tests
authorJeremy Kerr <jk@codeconstruct.com.au>
Fri, 1 Oct 2021 08:18:42 +0000 (16:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Oct 2021 13:19:01 +0000 (14:19 +0100)
commitd44a0304f835bfc1c9ba04b8e13ff545e919f125
treec89b56d58788e343e63bf1aec6fb5cc4027b5c34
parent4f38e777e94a3c39add3eb1c41374ca8e7d1986f
mctp: Add packet rx tests

Add a few tests for the initial packet ingress through
mctp_pkttype_receive function; mainly packet header sanity checks. Full
input routing checks will be added as a separate change.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/mctp/test/route-test.c