From: Bryce H. <br...@os...> - 2004-07-09 00:20:08
|
Hi David, Thanks, I tried this patch out, and it does fix the accept01 error. :-) http://khack.osdl.org/stp/294783/ Do you have ideas on the other failures encountered? Bryce On Wed, 7 Jul 2004, David S. Miller wrote: > On Wed, 7 Jul 2004 13:48:52 -0700 (PDT) > Bryce Harrington <br...@os...> wrote: > > > I have retested with ltp-full-20040603. This version of LTP hangs on > > our system but fortunately completes most of the tests before doing so. > > It indicates that it still encounters the same errors, e.g.: > > It hangs (actually, it OOPS's) on accept01, which is fixed in the current > BK sources via this patch: > > # This is a BitKeeper generated diff -Nru style patch. > # > # ChangeSet > # 2004/07/06 22:02:06-07:00 da...@nu... > # [IPV4]: Set UDP accept back to sock_no_accept. > # > # Setting it to inet_accept causes UDP accept attempts > # to OOPS. In particular, accept01 from LTP tries this. > # > # Signed-off-by: David S. Miller <da...@re...> > # > # net/ipv4/af_inet.c > # 2004/07/06 22:01:31-07:00 da...@nu... +1 -1 > # [IPV4]: Set UDP accept back to sock_no_accept. > # > # Setting it to inet_accept causes UDP accept attempts > # to OOPS. In particular, accept01 from LTP tries this. > # > # Signed-off-by: David S. Miller <da...@re...> > # > diff -Nru a/net/ipv4/af_inet.c b/net/ipv4/af_inet.c > --- a/net/ipv4/af_inet.c 2004-07-07 14:09:13 -07:00 > +++ b/net/ipv4/af_inet.c 2004-07-07 14:09:13 -07:00 > @@ -823,7 +823,7 @@ > .bind = inet_bind, > .connect = inet_dgram_connect, > .socketpair = sock_no_socketpair, > - .accept = inet_accept, > + .accept = sock_no_accept, > .getname = inet_getname, > .poll = datagram_poll, > .ioctl = inet_ioctl, > |