diff options
author | Bert Kenward <bkenward@solarflare.com> | 2017-04-12 18:06:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 17:01:19 +0200 |
commit | 271a8b428f8361f3ad4c599835ccd34dd458b212 (patch) | |
tree | 1a829c8abc89357c0b91cc73942350eeec6a53c9 /net/ipv4/ip_sockglue.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto... (diff) | |
download | linux-271a8b428f8361f3ad4c599835ccd34dd458b212.tar.xz linux-271a8b428f8361f3ad4c599835ccd34dd458b212.zip |
sfc: limit the number of receive queues
The number of rx queues is determined by the rss_cpus parameter
or the cpu topology. If that is higher than EFX_MAX_RX_QUEUES the
driver can corrupt state.
Fixes: 8ceee660aacb ("New driver "sfc" for Solarstorm SFC4000 controller.")
Signed-off-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_sockglue.c')
0 files changed, 0 insertions, 0 deletions