Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 816843a2 authored by Wei Liu's avatar Wei Liu Committed by Greg Kroah-Hartman
Browse files

xen-netback: correctly schedule rate-limited queues




[ Upstream commit dfa523ae9f2542bee4cddaea37b3be3e157f6e6b ]

Add a flag to indicate if a queue is rate-limited. Test the flag in
NAPI poll handler and avoid rescheduling the queue if true, otherwise
we risk locking up the host. The rescheduling will be done in the
timer callback function.

Reported-by: default avatarJean-Louis Dupond <jean-louis@dupond.be>
Signed-off-by: default avatarWei Liu <wei.liu2@citrix.com>
Tested-by: default avatarJean-Louis Dupond <jean-louis@dupond.be>
Reviewed-by: default avatarPaul Durrant <paul.durrant@citrix.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 38e71eab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment