summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2021-02-11 13:16:12 +0300
committerDavid S. Miller <davem@davemloft.net>2021-02-12 01:47:00 +0300
commita3daf3d39132b405781be8d9ede0c449b244b64e (patch)
tree0865146aafa262a64bdb5662a5f406bd7075bb21 /include/xen
parent6f1995523a0fac7dd4fc7d2f175604dd9f699338 (diff)
downloadlinux-a3daf3d39132b405781be8d9ede0c449b244b64e.tar.xz
xen/netback: fix spurious event detection for common event case
In case of a common event for rx and tx queue the event should be regarded to be spurious if no rx and no tx requests are pending. Unfortunately the condition for testing that is wrong causing to decide a event being spurious if no rx OR no tx requests are pending. Fix that plus using local variables for rx/tx pending indicators in order to split function calls and if condition. Fixes: 23025393dbeb3b ("xen/netback: use lateeoi irq binding") Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Paul Durrant <paul@xen.org> Reviewed-by: Wei Liu <wl@xen.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions