]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 10:00:11 +0000 (11:00 +0100)
commitd1b5f51a6b24240ec4d6929ac7d87b26435f2682
tree33799c101a27e1b8a0a15253e949db7abb2ad547
parent1a1e9ee2a6e8c020f443d933e74fe695f0a45631
mctp: Allow local delivery to the null EID

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>
net/mctp/route.c