]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 17 Dec 2014 14:17:34 +0000 (16:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2015 12:31:32 +0000 (13:31 +0100)
commit374e23517787348543b907ff868e7d5e3318fa4f
treed02fa25c8c277b9bbc0a57f885644c1e33c1dc87
parent395001e5a2ab29fb564da7c9300d084848f2fdf5
IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach

commit e9a7faf11af94957e5107b40af46c2e329541510 upstream.

The MLX4_PROT_IB_IPV4 protocol should only be used with RoCEv2 and such.
Removing this wrong usage allows to run multicast applications over RoCE.

Fixes: d487ee77740c ("IB/mlx4: Use IBoE (RoCE) IP based GIDs in the port GID table")
Reported-by: Carol Soto <clsoto@linux.vnet.ibm.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx4/main.c