git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bf9715
)
IB/core: When marshaling uverbs path, clear unused fields
author
Matan Barak
<matanb@mellanox.com>
Tue, 2 Sep 2014 12:32:34 +0000
(15:32 +0300)
committer
Roland Dreier
<roland@purestorage.com>
Mon, 22 Sep 2014 16:46:52 +0000
(09:46 -0700)
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>
drivers/infiniband/core/uverbs_marshall.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/uverbs_marshall.c
Simple merge