diff options
author | Devesh Sharma <devesh.sharma@emulex.com> | 2014-09-26 20:45:32 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-11-21 09:23:04 -0800 |
commit | ff1d3b7890f9d58aa057eadad1bb0c9e368091fe (patch) | |
tree | 53448df31756d75986007c8d1ba96956e4827515 /ipc | |
parent | ce1d89b64cb210b29bd4802549d831577f005816 (diff) |
IB/core: Clear AH attr variable to prevent garbage data
commit 8b0f93d9490653a7b9fc91f3570089132faed1c0 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions