]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mctp: Add packet rx tests
authorJeremy Kerr <jk@codeconstruct.com.au>
Sun, 3 Oct 2021 03:17:06 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Oct 2021 13:35:41 +0000 (14:35 +0100)
commitb504db408c34e01d791f69c61ee256a8c7eec62f
tree8d07a8a25ccd65f2c1c3531fd55b99a95bc785b0
parentded21b72299529cc143a4213ea0ec4b0c620b8eb
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