summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2014-09-02 15:32:34 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-10-05 14:52:22 -0700
commitdef258584a2986b46659552cbd4b4b555be43042 (patch)
tree9cb9a1f9b9015ac75c7c3eb194614577e6f4779f /kernel
parentcb264bf0c428cb776a364a7f75122a6d40cbb7bd (diff)
downloadlwn-def258584a2986b46659552cbd4b4b555be43042.tar.gz
lwn-def258584a2986b46659552cbd4b4b555be43042.zip
IB/core: When marshaling uverbs path, clear unused fields
commit a59c5850f09b4c2d6ad2fc47e5e1be8d654529d6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions