Searched hist:bf319173f298f79632aaff2013c09f4bb50914b0 (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/dev/xen/netfront/ |
H A D | netfront.c | diff bf319173f298f79632aaff2013c09f4bb50914b0 Fri May 19 10:19:51 CEST 2017 Roger Pau Monné <royger@FreeBSD.org> xen/netfront: don't drop the ring RX lock with inconsistent ring state
Make sure the RX ring lock is only released when the state of the ring is consistent, or else concurrent calls to xn_rxeof might get an inconsistent ring state and thus some packets might be processed twice.
Note that this is not very common, and could only happen when an interrupt is delivered while in xn_ifinit.
Reported by: cperciva Tested by: cperciva MFC after: 1 week Sponsored by: Citrix Systems R&D
|