]> xenbits.xensource.com Git - pvdrivers/win/xenvif.git/commit
Make sure transmitter DPC does not try to unmask non-existent evtchn staging-8.1 8.1.0
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 6 May 2016 08:51:30 +0000 (09:51 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 9 May 2016 09:01:20 +0000 (10:01 +0100)
commit30d347a6487b0836d49ff33f30db88cd62de65e8
tree48ea237a6b43e3e32ba8cb7862a819df2040a41d
parent4800825c571cdcafea8669a35a511fddb131fec8
Make sure transmitter DPC does not try to unmask non-existent evtchn

In the case where the backend does not support split event channels (one
for RX and one for TX) then the transmitter code in XENVIF does not open
the combined channel; it is handled by the receiver code. So, the
transmitter DPC should not make any attempt to unmask the event channel at
the end of processing.

This patch adds the necessary check for FrontendIsSplit before doing the
unmask and also removes an unnecessary check for FrontendIsSplit in the
transmitter ring enable function.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reported-by: Eytan Heidingsfeld <eytanh@gmail.com>
Tested-by: Eytan Heidingsfeld <eytanh@gmail.com>
src/xenvif/transmitter.c