aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorIlya Nelkenbaum <[email protected]>2015-02-05 11:53:48 +0000
committerRoland Dreier <[email protected]>2015-02-17 20:34:52 +0000
commitc2be9dc0e0fa59cc43c2c7084fc42b430809a0fe (patch)
treeb110f2ddd783a48a4b00e8fae4c600c1989aa92d /lib/dynamic_debug.c
parentLinux 3.19 (diff)
downloadkernel-c2be9dc0e0fa59cc43c2c7084fc42b430809a0fe.tar.gz
kernel-c2be9dc0e0fa59cc43c2c7084fc42b430809a0fe.zip
IB/core: When marshaling ucma path from user-space, clear unused fields
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 <[email protected]> Signed-off-by: Or Gerlitz <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions