diff options
author | Devesh Sharma <devesh.sharma@emulex.com> | 2014-09-26 20:45:32 +0530 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-10-14 00:29:06 -0700 |
commit | 8b0f93d9490653a7b9fc91f3570089132faed1c0 (patch) | |
tree | 89b31b1a022bcd4eba352db9379b576e599ae2f6 /kernel/smpboot.c | |
parent | fe82dcec644244676d55a1384c958d5f67979adb (diff) | |
download | linux-8b0f93d9490653a7b9fc91f3570089132faed1c0.tar.bz2 |
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>
Diffstat (limited to 'kernel/smpboot.c')
0 files changed, 0 insertions, 0 deletions