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)
commit925c01afb06a853b37c7a2d63ece94c5cec4a700
treec89b56d58788e343e63bf1aec6fb5cc4027b5c34
parent077b6d52df6dba4f371768428fa9a50d8b6485e7
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