]> git.openfabrics.org - ~aditr/compat-rdma.git/commit
Added fix for IB core
authorVladimir Sokolovsky <vlad@mellanox.com>
Mon, 9 Feb 2015 16:32:03 +0000 (18:32 +0200)
committerVladimir Sokolovsky <vlad@mellanox.com>
Mon, 9 Feb 2015 16:32:03 +0000 (18:32 +0200)
commitdfadc99cffc80d221c3941eb67bd7562e8271a0b
tree837543cd161ba8e38e3310b16966dddce4d12d44
parent612eb8cb4001c117cabbe4fe79e9c81e56ff0e09
Added fix for IB core

From: Ilya Nelkenbaum <ilyan@mellanox.com>
Subject: [PATCH] IB/core: When marshaling ucma path from user-space,
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.

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: Vladimir Sokolovsky <vlad@mellanox.com>
linux-next-pending/0007-IB-core-When-marshaling-ucma-path-from-user-space-cl.patch [new file with mode: 0644]