summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@codeconstruct.com.au>2025-03-04 08:59:51 +0300
committerPaolo Abeni <pabeni@redhat.com>2025-03-06 12:33:07 +0300
commitcf7ee25e70c6edfac4553d6b671e8b19db1d9573 (patch)
treee0df5cc39c3fe38ff42f9deea47ccf5702061d9a /net/switchdev/switchdev.c
parentccc2f5a436fbb0ae1fb598932a9b8e48423c1959 (diff)
downloadlinux-cf7ee25e70c6edfac4553d6b671e8b19db1d9573.tar.xz
mctp i3c: handle NULL header address
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: Matt Johnston <matt@codeconstruct.com.au> Fixes: c8755b29b58e ("mctp i3c: MCTP I3C driver") Link: https://patch.msgid.link/20250304-mctp-i3c-null-v1-1-4416bbd56540@codeconstruct.com.au Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions