]> xenbits.xensource.com Git - people/pauldu/xennet.git/commit
Make transmitter robust against a possible completion race
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 19 Jan 2016 11:21:28 +0000 (11:21 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Fri, 22 Jan 2016 12:57:53 +0000 (12:57 +0000)
commit7c3365d5934238a0139196904a4b37f16394c8eb
tree258d1272ed2baea9aaa74be7809128a1057a5e9b
parent33e14a550d28623b09f0fdf49dd164164db9d927
Make transmitter robust against a possible completion race

It's possible that a transmission invoked on one CPU may complete on another
before the transmission invocation as finished. Therefore, once we have queued
a NET_BUFFER for transmission we should not use it's metadata again (including
the 'next' pointer).

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xennet/receiver.c
src/xennet/transmitter.c