Re: AX25 Patches for 2.4.17 and above - have they been included yet

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 13 2002 - 05:26:13 EST


> I have been looking and searching the latest kernel pachecs and update for
> the fixes that were issued some time ago, but I have yet to see them.

Thats because they were wrong..

> + * Jeroen Vreeken : Add check for sk->dead in
> sock_def_write_space
> *
> * To Fix:
> *
> @@ -1146,7 +1147,7 @@
> /* Do not wake up a writer until he can make "significant"
> * progress. --DaveM
> */
> - if((atomic_read(&sk->wmem_alloc) << 1) <= sk->sndbuf) {
> + if(!sk->dead && (atomic_read(&sk->wmem_alloc) << 1) <= sk->sndbuf) {
> if (sk->sleep && waitqueue_active(sk->sleep))

See 2.4.18-ac which has a newer update for this.
-
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 : Fri Feb 15 2002 - 21:00:53 EST