summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2026-03-31 15:41:08 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-04-02 13:31:37 +0200
commit0d8647bc74cb50edf02e8c88977657596f20fb17 (patch)
treea2277d73fed8bc7181f795e06b65316558f2be10 /kernel/workqueue.c
parent8af20defc4edb9e5ded39d36e1c7541569cd84d2 (diff)
net: mctp: don't require a route for null-EID ingress
Currently, if we receive a physically-addressed packet for the local stack, we perform a route_lookup_null to find a matching device-based route. If a route is present, it will always have the ->output fn set to mctp_dst_input, which provides our delivery mechanism. However, if we don't yet have any local addresses assigned, we won't have any local routes to lookup, so this will fail. One of the use-cases for physical addressing is initial address assignment on endpoint nodes, where we would have no addresses, and therefore no local routes. Instead of iterating routes (looking for one matching the dev), just create a suitable mctp_dst for the device directly. Add a testcase for the no-route case too. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Link: https://patch.msgid.link/20260331-dev-mctp-null-eids-v1-3-b4d047372eaf@codeconstruct.com.au Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions