Subject: Re: Race in scsipi_execute_xs()? (Was: Re: More on se0)
To: Leo Weppelman <leo@wau.mis.ah.nl>
From: Julian Coleman <J.D.Coleman@newcastle.ac.uk>
List: tech-kern
Date: 08/18/1998 08:33:24
Leo Weppelman wrote:
> I thought out a somewhat different approach. It doesn't seem to break
> anything, a kernel using it is running now ;-)
> What I did is giving each scsipi_xfer structure it's own unique generation
> number (extra member: u_int gen_number ).
...
> I attached a diff to scsipi_base.c, but this is the scsipi_base.c from the
> bouyer-branch and is not yet released AFAIK. I hope you have enough info
> to try something out.
Wonderful! `ifconfig` works perfectly with this change. Next step is to
work out why it doesn't seem to see any packets ... ;-)
Thanks again,
J
--
1024/55A5BC19 0F 3F 62 56 18 10 8B 84 43 8F F4 94 93 37 76 AA
S.E.P.