RE: BPF bug or not?

2000-01-26 Thread Bruce Evans
On Wed, 26 Jan 2000, Yevmenkin, Maksim N, CSCIO wrote: > > > I've just found that read from /dev/bpfX never return > > EAGAIN/EWOULDBLOCK. > > > It means that when you do a non blocking read and there is > > no data you will > > > always get 0. > [ untested fix removed :) ] > > Yes, it works.

RE: BPF bug or not?

2000-01-26 Thread Yevmenkin, Maksim N, CSCIO
Bruce, [...] > > I've just found that read from /dev/bpfX never return > EAGAIN/EWOULDBLOCK. > > It means that when you do a non blocking read and there is > no data you will > > always get 0. > > > > Does it suppose work this way? > > I think it is a bug. Perhaps applications depend on it.

Re: BPF bug or not?

2000-01-25 Thread Bruce Evans
On Mon, 24 Jan 2000, Yevmenkin, Maksim N, CSCIO wrote: > All, > > I've just found that read from /dev/bpfX never return EAGAIN/EWOULDBLOCK. > It means that when you do a non blocking read and there is no data you will > always get 0. > > Does it suppose work this way? I think it is a bug. Per