diff options
author | Jeremy Kerr <[email protected]> | 2024-08-16 18:29:17 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-08-19 17:48:00 -0700 |
commit | ce335db0621648472f9bb4b7191eb2e13a5793cf (patch) | |
tree | 250675f1805359beca973da5119ac8f53160eb5c /scripts/rustdoc_test_builder.rs | |
parent | 565d121b69980637f040eb4d84289869cdaabedf (diff) |
net: mctp: test: Use correct skb for route input check
In the MCTP route input test, we're routing one skb, then (when delivery
is expected) checking the resulting routed skb.
However, we're currently checking the original skb length, rather than
the routed skb. Check the routed skb instead; the original will have
been freed at this point.
Fixes: 8892c0490779 ("mctp: Add route input to socket tests")
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/kernel-janitors/[email protected]/
Signed-off-by: Jeremy Kerr <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/20240816-mctp-kunit-skb-fix-v1-1-3c367ac89c27@codeconstruct.com.au
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions