SVNews r318523

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-05-19 08:19:51 - r318523 by royger (royger)

Complete list of files affected by revision r318523:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/dev/xen/netfront/netfront.c  

Commit message:

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


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 20 ms, 1 file printed. Current time is 2018-05-23 05:21:55. All times are in UTC/GMT.