]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mctp: Allow local delivery to the null EID
authorJeremy Kerr <jk@codeconstruct.com.au>
Wed, 29 Sep 2021 07:26:06 +0000 (15:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Oct 2023 09:58:59 +0000 (11:58 +0200)
commitdb3f17e571e871b56cbebaf187640b57d037b091
tree4157f8a7187577cfaf37b16c08bf9706ffc055ce
parent29017ab1a539101d9c7bec63cc13a019f97b2820
mctp: Allow local delivery to the null EID

[ Upstream commit 1f6c77ac9e6ecef152fd5df94c4b3c346adb197a ]

We may need to receive packets addressed to the null EID (==0), but
addressed to us at the physical layer.

This change adds a lookup for local routes when we see a packet
addressed to EID 0, and a local phys address.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: 5093bbfc10ab ("mctp: perform route lookups under a RCU read-side lock")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mctp/route.c