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

From: Stephen Kitchener (rae@mx.dy.fi)
Date: Wed Feb 13 2002 - 12:03:11 EET

  • Next message: Alan Cox: "Re: AX25 Patches for 2.4.17 and above - have they been included yet"

    Hi,

    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.

    The patches were issed by Henk De Groot and were as follows...

    diff -ruN linux/net/core/sock.c linux/net/core/sock.c
    --- linux/net/core/sock.c Fri Dec 28 21:25:37 2001
    +++ linux/net/core/sock.c Fri Dec 28 21:26:35 2001
    @@ -81,6 +81,7 @@
      * Andi Kleen : Fix write_space callback
      * Chris Evans : Security fixes - signedness again
      * Arnaldo C. Melo : cleanups, use skb_queue_purge
    + * 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))
                            wake_up_interruptible(sk->sleep);

    These were, I believe, issed against the 2.4.17 kernel.

    These were to fix a lock up problem that I have encountered when useing an
    scc card and the scc utilites but might have been more general to ax25 use.

    Have I missed something and they are there in the kernel now, haven't seen
    anything listed in the kernel changes or are these fixes being incorporated
    in the 2.5.xx series.

    -- 
    Stephen Kitchener
    -
    To unsubscribe from this list: send the line "unsubscribe linux-hams" in
    the body of a message to terhi.victor@logonet.com
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    



    This archive was generated by hypermail 2b30 : Wed Feb 13 2002 - 12:00:25 EET