Re: [PATCH] /proc/net/tcp + ipv6 hang

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Sun Dec 22 2002 - 21:40:17 EST


Em Mon, Dec 23, 2002 at 02:57:23AM +0100, Anders Gustafsson escreveu:
> this patch fixes an infinite loop when reading /proc/net/tcp and having
> daemons listening on ipv6.

Perfect! Thanks for the fix, looking at it now it seems soooo obvious, /me
slaps himself in the face 8)

David, pleasey apply, I think there is still at least one bug with this code,
will be testing this as soon as possible.

Anders, if you're feeling brave, from the top of my head, think about what
happens if somebody only reads the first, say, 10 bytes of /proc/net/tcp, will
we unlocking a not held lock at tcp_seq_stop, no? :-)

Another fix for this one will be apreciated 8)

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Dec 23 2002 - 22:00:31 EST