linux/drivers/infiniband
Ilya Nelkenbaum 6ff59abff6 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: Sasha Levin <sasha.levin@oracle.com>
History 2015-03-23 21:02:46 -04:00
..
core IB/core: When marshaling ucma path from user-space, clear unused fields 2015-03-23 21:02:46 -04:00
hw IB/mlx4: Fix wrong usage of IPv4 protocol for multicast attach/detach 2015-03-23 21:02:45 -04:00
ulp IB/iser: Use correct dma direction when unmapping SGs 2015-03-23 21:02:44 -04:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00