diff options
author | Sudarsana Reddy Kalluru <skalluru@marvell.com> | 2019-02-06 14:43:45 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 16:53:33 -0800 |
commit | 0aa4febb420d91df5b56b1864a2465765da85f4b (patch) | |
tree | b50f69ac73d7040e6c08bfb15f65e92ac4bebd59 /drivers/net/ethernet/socionext | |
parent | fb1faab74ddef9ec2d841d54e5d0912a097b3abe (diff) | |
download | linux-0aa4febb420d91df5b56b1864a2465765da85f4b.tar.bz2 |
qede: Fix system crash on configuring channels.
Under heavy traffic load, when changing number of channels via
ethtool (ethtool -L) which will cause interface to be reloaded,
it was observed that some packets gets transmitted on old TX
channel/queue id which doesn't really exist after the channel
configuration leads to system crash.
Add a safeguard in the driver by validating queue id through
ndo_select_queue() which is called before the ndo_start_xmit().
Signed-off-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
Signed-off-by: Ariel Elior <aelior@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/socionext')
0 files changed, 0 insertions, 0 deletions