diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2020-10-09 00:27:53 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-10-09 02:22:12 +0300 |
commit | de55412d02a2c7554053a19dc98addd88c8c3c2a (patch) | |
tree | 49f2d870b59fd1506ef63cf3f94fba6972b0092d /sound/soc/codecs/sirf-audio-codec.h | |
parent | e7ec96fc7932f48a6d6cdd05bf82004a1a04285b (diff) | |
download | linux-de55412d02a2c7554053a19dc98addd88c8c3c2a.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/sirf-audio-codec.h')
0 files changed, 0 insertions, 0 deletions