linux/drivers/infiniband
Matan Barak def258584a IB/core: When marshaling uverbs path, clear unused fields
commit a59c5850f0 upstream.

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

Fixes: dd5f03beb4 ("IB/core: Ethernet L2 attributes in verbs/cm structures")
Reported-by: Aleksey Senin <alekseys@mellanox.com>
Signed-off-by: Matan Barak <matanb@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>
2014-10-05 14:52:22 -07:00
..
core IB/core: When marshaling uverbs path, clear unused fields 2014-10-05 14:52:22 -07:00
hw IB/mlx4: Don't duplicate the default RoCE GID 2014-10-05 14:52:22 -07:00
ulp Target/iser: Don't put isert_conn inside disconnected handler 2014-10-05 14:52:18 -07: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