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:
bfa76d4
)
IB/core: When marshaling ucma path from user-space, clear unused fields
author
Ilya Nelkenbaum
<ilyan@mellanox.com>
Thu, 5 Feb 2015 11:53:48 +0000
(13:53 +0200)
committer
Roland Dreier
<roland@purestorage.com>
Tue, 17 Feb 2015 20:34:52 +0000
(12:34 -0800)
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:
dd5f03beb4f7
("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>
drivers/infiniband/core/ucma.c
patch
|
blob
|
history
diff --cc
drivers/infiniband/core/ucma.c
Simple merge