linux/drivers/net/mctp
Matt Johnston cf7ee25e70 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: c8755b29b5 ("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>
2025-03-06 10:33:07 +01:00
..
Kconfig net: mctp-serial: Add kunit test for next_chunk_len() 2024-09-01 18:14:01 +01:00
Makefile mctp i3c: MCTP I3C driver 2023-10-17 12:45:03 +02:00
mctp-i2c.c mctp i2c: drop check because i2c_unregister_device() is NULL safe 2024-12-03 11:53:33 +01:00
mctp-i3c.c mctp i3c: handle NULL header address 2025-03-06 10:33:07 +01:00
mctp-serial.c net: mctp: Expose transport binding identifier via IFLA attribute 2024-11-09 09:04:54 -08:00