From: Matan Barak Date: Tue, 2 Sep 2014 12:32:34 +0000 (+0300) Subject: IB/core: When marshaling uverbs path, clear unused fields X-Git-Tag: fixes-for-v3.18-merge-window~78^2^4~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a59c5850f09b4c2d6ad2fc47e5e1be8d654529d6;p=pandora-kernel.git IB/core: When marshaling uverbs path, 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. Fixes: dd5f03beb4f7 ("IB/core: Ethernet L2 attributes in verbs/cm structures") Reported-by: Aleksey Senin Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: Roland Dreier --- Reading git-diff-tree failed