summaryrefslogtreecommitdiff
path: root/Documentation/gpu/intel-display/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@ddn.com>2026-06-17 14:21:05 +0300
committerLeon Romanovsky <leon@kernel.org>2026-07-02 07:03:46 -0400
commit18313833e2c6de222a4f6c072da759d0d5888528 (patch)
tree04af62fa2fd1459355527f17a783ee16059af562 /Documentation/gpu/intel-display/git@git.tavy.me:linux.git
parentf5ad2ead846e3a00d040d64c7eaf67b65629f51d (diff)
RDMA/cma: Fix hardware address comparison length in netevent callback
The cited commit hardcoded the hardware address comparison len to ETH_ALEN. This breaks IPoIB, which uses 20-byte addresses. By truncating the memcmp, the CMA may incorrectly assume the target address is unchanged and fails to abort the stalled connection. Fix this by replacing ETH_ALEN with the dynamic neigh->dev->addr_len to correctly evaluate the full address regardless of the link layer. Fixes: 925d046e7e52 ("RDMA/core: Add a netevent notifier to cma") Signed-off-by: Or Gerlitz <ogerlitz@ddn.com> Link: https://patch.msgid.link/20260617-fix-cma-ipoib-v1-1-03f869344304@ddn.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'Documentation/gpu/intel-display/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions