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

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Mon, 23 Dec 2002 00:40:17 -0200


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/