Commit a58893aa authored by Matt Johnston's avatar Matt Johnston Committed by Jakub Kicinski
Browse files

net: mctp: Fix bad kfree_skb in bind lookup test



The kunit test's skb_pkt is consumed by mctp_dst_input() so shouldn't be
freed separately.

Fixes: e6d8e7db ("net: mctp: Add bind lookup test")
Reported-by: default avatarAlexandre Ghiti <alex@ghiti.fr>
Closes: https://lore.kernel.org/all/734b02a3-1941-49df-a0da-ec14310d41e4@ghiti.fr/


Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Tested-by: default avatarAlexandre Ghiti <alexghiti@rivosinc.com>
Link: https://patch.msgid.link/20250812-fix-mctp-bind-test-v1-1-5e2128664eb3@codeconstruct.com.au


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 3bfc7782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment