linux/drivers/infiniband
Bob Pearson de55412d02 RDMA/rxe: Fix bug rejecting all multicast packets
Fix a bug in rxe_rcv() that causes all multicast packets to be
dropped. Currently rxe_match_dgid() is called for each packet to verify
that the destination IP address matches one of the entries in the port
source GID table. This is incorrect for IP multicast addresses since they
do not appear in the GID table.

Add code to detect multicast addresses.

Change function name to rxe_chk_dgid() which is clearer.

Link: https://lore.kernel.org/r/20201008212753.265249-1-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-10-08 20:22:12 -03:00
..
core RDMA/uverbs: Expose the new GID query API to user space 2020-10-01 21:20:11 -03:00
hw RDMA/bnxt_re: Fix sizeof mismatch for allocation of pbl_tbl. 2020-10-06 16:56:36 -03:00
sw RDMA/rxe: Fix bug rejecting all multicast packets 2020-10-08 20:22:12 -03:00
ulp RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces 2020-10-05 15:05:45 -03:00
Kconfig IB/core: Improve ODP to use hmm_range_fault() 2020-10-01 16:39:54 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00