aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2017-06-14 12:10:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-06-14 15:20:04 -0400
commit0331402aeaefe858709b0a4d44ade15f82d3a119 (patch)
tree5fedec0e046a7ec22c573a51ddb1abc917da2ee9 /include/linux/socket.h
parentMerge branch 'mlxsw-Add-support-for-cable-info-access' (diff)
downloadwireguard-linux-0331402aeaefe858709b0a4d44ade15f82d3a119.tar.xz
wireguard-linux-0331402aeaefe858709b0a4d44ade15f82d3a119.zip
qed: Fix an off by one bug
The p_l2_info->pp_qid_usage[] array has "p_l2_info->queues" elements so the > here should be a >= or we write beyond the end of the array. Fixes: bbe3f233ec5e ("qed: Assign a unique per-queue index to queue-cid") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Yuval Mintz <Yuval.Mintz@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions