diff options
| author | Maxime Chevallier <[email protected]> | 2019-05-27 11:52:01 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-28 18:18:44 +0000 |
| commit | 7af5b077514269268bc76d3c3384c9ead679eaca (patch) | |
| tree | 7742e5c597a968577cf8a54793402650c2995ffe /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | enetc: fix le32/le16 degrading to integer warnings (diff) | |
| download | kernel-7af5b077514269268bc76d3c3384c9ead679eaca.tar.gz kernel-7af5b077514269268bc76d3c3384c9ead679eaca.zip | |
net: mvpp2: cls: Check RSS table index validity when creating a context
Make sure we don't use an out-of-bound index for the per-port RSS
context array.
As of today, the global context creation in mvpp22_rss_context_create
will prevent us from reaching this case, but we should still make sure
we are using a sane value anyway.
Reported-by: kbuild test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Maxime Chevallier <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
