]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: mctp: test: Add initial socket tests
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 2 Jul 2025 06:20:09 +0000 (14:20 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Jul 2025 10:39:24 +0000 (12:39 +0200)
commit9b4a8c38f4fe8f6ed51032165c0fc34007d88415
tree0ae2290d540d8f96d1e1be08b71eff05c840e6f5
parent19396179a0f1f912b22c051afb468482b0d9466f
net: mctp: test: Add initial socket tests

Recent changes have modified the extaddr path a little, so add a couple
of kunit tests to af-mctp.c. These check that we're correctly passing
lladdr data between sendmsg/recvmsg and the routing layer.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20250702-dev-forwarding-v5-9-1468191da8a4@codeconstruct.com.au
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
net/mctp/route.c
net/mctp/test/sock-test.c