summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qed/qed_l2.c
diff options
context:
space:
mode:
authorSudarsana Reddy Kalluru <skalluru@marvell.com>2019-02-06 14:43:45 -0800
committerDavid S. Miller <davem@davemloft.net>2019-02-06 16:53:33 -0800
commit0aa4febb420d91df5b56b1864a2465765da85f4b (patch)
treeb50f69ac73d7040e6c08bfb15f65e92ac4bebd59 /drivers/net/ethernet/qlogic/qed/qed_l2.c
parentfb1faab74ddef9ec2d841d54e5d0912a097b3abe (diff)
downloadblackbird-obmc-linux-0aa4febb420d91df5b56b1864a2465765da85f4b.tar.gz
blackbird-obmc-linux-0aa4febb420d91df5b56b1864a2465765da85f4b.zip
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/qlogic/qed/qed_l2.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud