]> 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)
commit00ecaef373cf842fc7d25386e01468c42cd6ef0d
tree63f5690c4946f967cf677135d2232c45dc639a19
parentfff3b745c88773baf06ea3133a638a99fb0ad483
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