mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* AX25 Patches for 2.4.17 and above - have they been included yet
@ 2002-02-13 10:03 Stephen Kitchener
  2002-02-13 10:26 ` Alan Cox
  2002-02-13 11:27 ` David S. Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Kitchener @ 2002-02-13 10:03 UTC (permalink / raw)
  To: linux-kernel, linux-hams

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-13 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-13 10:03 AX25 Patches for 2.4.17 and above - have they been included yet Stephen Kitchener
2002-02-13 10:26 ` Alan Cox
2002-02-13 11:27 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®