I tested the patch and its working. I have a small test program already. I create a regression test with it. I'll post the diff here. Am 06.01.2015 04:19 schrieb "Philip Guenther" <[email protected]>:
> [(@#*$&(*# control-enter keybinding] > > On Mon, Jan 5, 2015 at 7:15 PM, Philip Guenther <[email protected]> > wrote: > > On Mon, Jan 5, 2015 at 11:01 AM, Ted Unangst <[email protected]> > wrote: > > ... > >> In the regular timeout case, I'm not sure what you're changing. There > >> is a problem here though. If we're already close to the timeout > >> expiring, we shouldn't sleep the full timeout, only the time left > >> since we began the read. > > Yes, that was what I was trying to convey in my reply to Mages's > earlier post on this bpf issue. > > Your diff looks correct to me, though untested. > > Mages, do you have code this can be tested against? Is there > something you could contribute to form a regress test we could place > under /usr/src/regress/net/ to verify that we got this right and to > catch breakage in the future? > > > Philip Guenther >
