Commit 5fcf0801 authored by John Wang's avatar John Wang Committed by Jakub Kicinski
Browse files

net: mctp: Consistent peer address handling in ioctl tag allocation



When executing ioctl to allocate tags, if the peer address is 0,
mctp_alloc_local_tag now replaces it with 0xff. However, during tag
dropping, this replacement is not performed, potentially causing the key
not to be dropped as expected.

Signed-off-by: default avatarJohn Wang <wangzhiqiang02@ieisystem.com>
Reviewed-by: default avatarJeremy Kerr <jk@codeconstruct.com.au>
Link: https://patch.msgid.link/20240730084636.184140-1-wangzhiqiang02@ieisystem.com


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