aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/socket.c
diff options
context:
space:
mode:
authorEran Ben Elisha <[email protected]>2018-09-16 11:45:27 +0000
committerSaeed Mahameed <[email protected]>2018-10-01 17:58:00 +0000
commit11aa5800ed66ed0415b7509f02881c76417d212a (patch)
treedf3ff657279c6cf5ffc6163a4976d768c5a47038 /net/tipc/socket.c
parentnet/mlx5e: Avoid unbounded peer devices when unpairing TC hairpin rules (diff)
downloadkernel-11aa5800ed66ed0415b7509f02881c76417d212a.tar.gz
kernel-11aa5800ed66ed0415b7509f02881c76417d212a.zip
net/mlx5: E-Switch, Fix out of bound access when setting vport rate
The code that deals with eswitch vport bw guarantee was going beyond the eswitch vport array limit, fix that. This was pointed out by the kernel address sanitizer (KASAN). The error from KASAN log: [2018-09-15 15:04:45] BUG: KASAN: slab-out-of-bounds in mlx5_eswitch_set_vport_rate+0x8c1/0xae0 [mlx5_core] Fixes: c9497c98901c ("net/mlx5: Add support for setting VF min rate") Signed-off-by: Eran Ben Elisha <[email protected]> Reviewed-by: Or Gerlitz <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions