]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: mctp: test: make cloned_frag buffers more appropriately-sized
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 2 Jul 2025 06:20:02 +0000 (14:20 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Jul 2025 10:39:23 +0000 (12:39 +0200)
commitfc2b87d036e2155b16f8c53c8198df7b376fd616
treef1808042b69647c4e5e59ff6f4e67c3791346149
parente0f3c79cc0bbf4925de1afde5abf148b7f7f4398
net: mctp: test: make cloned_frag buffers more appropriately-sized

In our input_cloned_frag test, we currently allocate our test buffers
arbitrarily-sized at 100 bytes.

We only expect to receive a max of 15 bytes from the socket, so reduce
to a more appropriate size. There are some upcoming changes to the
routing code which hit a frame-size limit on s390, so reduce the usage
before that lands.

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