commit | 8b0f93d9490653a7b9fc91f3570089132faed1c0 | [log] [tgz] |
---|---|---|
author | Devesh Sharma <devesh.sharma@emulex.com> | Fri Sep 26 20:45:32 2014 +0530 |
committer | Roland Dreier <roland@purestorage.com> | Tue Oct 14 00:29:06 2014 -0700 |
tree | 89b31b1a022bcd4eba352db9379b576e599ae2f6 | |
parent | fe82dcec644244676d55a1384c958d5f67979adb [diff] |
IB/core: Clear AH attr variable to prevent garbage data During create-ah from userspace, uverbs is sending garbage data in attr.dmac and attr.vlan_id. This patch sets attr.dmac and attr.vlan_id to zero. Fixes: dd5f03beb4f7 ("IB/core: Ethernet L2 attributes in verbs/cm structures") Signed-off-by: Devesh Sharma <devesh.sharma@emulex.com> Signed-off-by: Roland Dreier <roland@purestorage.com>