Subject: Re: xbd backend disconnection
To: None <port-xen@NetBSD.org>
From: Jed Davis <jdev@panix.com>
List: port-xen
Date: 09/19/2005 22:52:27
Manuel Bouyer <bouyer@antioche.eu.org> writes:

> I also did a few more cleanups. The new patch is attached (against current)

And it works here.

The old patch's failure mode, however, reveals the lack of a check for
overflowing the response ring, and that a malicious or broken domU
could (I think) put garbage into the request ring indices and cause
our dom0 to loop ~forever in interrupt context.


-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))