Commit d8be54c3 authored by Matt Johnston's avatar Matt Johnston Committed by Greg Kroah-Hartman
Browse files

mctp i3c: handle NULL header address



[ Upstream commit cf7ee25e ]

daddr can be NULL if there is no neighbour table entry present,
in that case the tx packet should be dropped.

saddr will usually be set by MCTP core, but check for NULL in case a
packet is transmitted by a different protocol.

Signed-off-by: default avatarMatt Johnston <matt@codeconstruct.com.au>
Fixes: c8755b29 ("mctp i3c: MCTP I3C driver")
Link: https://patch.msgid.link/20250304-mctp-i3c-null-v1-1-4416bbd56540@codeconstruct.com.au


Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent bb73c406
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment