Commit 200651b9 authored by Parav Pandit's avatar Parav Pandit Committed by Leon Romanovsky
Browse files

RDMA/core: Resolve MAC of next-hop device without ARP support



Currently, if the next-hop netdevice does not support ARP resolution,
the destination MAC address is silently set to zero without reporting
an error. This leads to incorrect behavior and may result in packet
transmission failures.

Fix this by deferring MAC resolution to the IP stack via neighbour
lookup, allowing proper resolution or error reporting as appropriate.

Fixes: 7025fcd3 ("IB: address translation to map IP toIB addresses (GIDs)")
Signed-off-by: default avatarParav Pandit <parav@nvidia.com>
Reviewed-by: default avatarVlad Dumitrescu <vdumitrescu@nvidia.com>
Signed-off-by: default avatarEdward Srouji <edwards@nvidia.com>
Link: https://patch.msgid.link/20250916111103.84069-3-edwards@nvidia.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
parent fa29d1e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment