linux/drivers/infiniband
Ilya Nelkenbaum f96bc2a824 IB/core: When marshaling ucma path from user-space, clear unused fields
commit c2be9dc0e0 upstream.

When marshaling a user path to the kernel struct ib_sa_path, we need
to zero smac and dmac and set the vlan id to the "no vlan" value.

This is to ensure that Ethernet attributes are not used with
InfiniBand QPs.

Fixes: dd5f03beb4 ("IB/core: Ethernet L2 attributes in verbs/cm structures")
Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.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>
2015-03-18 13:31:32 +01:00
..
core IB/core: When marshaling ucma path from user-space, clear unused fields 2015-03-18 13:31:32 +01:00
hw IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach 2015-03-18 13:31:32 +01:00
ulp iser-target: Fix implicit termination of connections 2015-01-27 08:18:59 -08:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00