summaryrefslogtreecommitdiff
path: root/kernel/utsname_sysctl.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2018-04-27 15:08:41 +0100
committerDavid S. Miller <davem@davemloft.net>2018-04-27 20:21:07 -0400
commitded8b9c761c50d147b20d7de18766fcdb8f5b621 (patch)
tree72a1aae23a9906f90d5eb5a19dbe9ebea9680674 /kernel/utsname_sysctl.c
parent988bf7243e03ef69238381594e0334a79cef74a6 (diff)
sfc: Use filter index rather than ID for rps_flow_id table
efx->type->filter_insert() returns an ID rather than the index that efx->type->filter_async_insert() used to, which causes it to exceed efx->type->max_rx_ip_filters on some EF10 configurations, leading to out- of-bounds array writes. So, in efx_filter_rfs_work(), convert this back into an index (which is what the remove call in the expiry path expects, anyway). Fixes: 3af0f34290f6 ("sfc: replace asynchronous filter operations") Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions