Skip to content
Commit 06bf1ce6 authored by Matt Johnston's avatar Matt Johnston Committed by Jakub Kicinski
Browse files

mctp i2c: Fix potential use-after-free



The skb is handed off to netif_rx() which may free it.
Found by Smatch.

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent f62457df
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment