]> git.baikalelectronics.ru Git - kernel.git/commit
mctp: tests: Add key state tests
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 9 Feb 2022 04:05:54 +0000 (12:05 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2022 12:00:11 +0000 (12:00 +0000)
commitb8dd9dda25d53d10b0910be037b48387311ad3bf
tree63f5690c4946f967cf677135d2232c45dc639a19
parent4829b8e8c005d35bbcaa7c20370309b6578734ca
mctp: tests: Add key state tests

This change adds a few more tests to check the key/tag lookups on route
input. We add a specific entry to the keys lists, route a packet with
specific header values, and check for key match/mismatch.

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