diff options
author | Matan Barak <matanb@mellanox.com> | 2014-09-02 14:32:34 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-09-22 18:46:52 +0200 |
commit | a59c5850f09b4c2d6ad2fc47e5e1be8d654529d6 (patch) | |
tree | 14db6d68fc255eea9d43da8eed9d8f543da8299f /drivers/parport/Makefile | |
parent | IB/mlx4: Avoid executing gid task when device is being removed (diff) | |
download | linux-a59c5850f09b4c2d6ad2fc47e5e1be8d654529d6.tar.xz linux-a59c5850f09b4c2d6ad2fc47e5e1be8d654529d6.zip |
IB/core: When marshaling uverbs path, clear unused fields
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: dd5f03beb4f7 ("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>
Diffstat (limited to 'drivers/parport/Makefile')
0 files changed, 0 insertions, 0 deletions