lkml.org 
[lkml]   [1997]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectIPX socket allocation patch
-----BEGIN PGP SIGNED MESSAGE-----

As part of the recent discussion regarding 2.0.30 I looked at
pre-2.0.31-2 a bit more closely and found that the following patch did
not make it in. I did not find it on www.linuxhq.com, so it might have
been lost. Whoever makes a pre-2.0.31-3 please include it. Thanks.

It fixes a very annoying and hard to find problem with hanging ipx
sockets. If you want to know more about the symptoms, please look at
the readme of ncpfs-2.0.10. MANY thanks to Martin Stover who finally
found it.

Volker

diff -u -urN 2.0.30/net/ipx/af_ipx.c 2.0.30-patched/net/ipx/af_ipx.c
- --- 2.0.30/net/ipx/af_ipx.c Wed Nov 27 08:44:21 1996
+++ 2.0.30-patched/net/ipx/af_ipx.c Mon Jul 14 17:25:12 1997
@@ -1723,6 +1723,7 @@
}
sk->rcvbuf=SK_RMEM_MAX;
sk->sndbuf=SK_WMEM_MAX;
+ sk->allocation=GFP_KERNEL;
sk->prot=NULL; /* So we use default free mechanisms */
skb_queue_head_init(&sk->receive_queue);
skb_queue_head_init(&sk->write_queue);
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
iQCVAwUBM8pGsz/9BWnmOc5FAQHKugP/dupRGY9TeQ9w+lHlyZNIDywbf/XLEnxz
pdcvjoVfRg/j0aBsRZMkvEdviWWHjufDF3gJznhZMwwJir9Tw8i/JsclQcfI13ql
0YcUz31AO1TNauLcqRCpQ3K9p6hru4MK+xfHUX1HzqcRd1pKWpvh3CEeXz/mrr11
fMX0WlYCpCg=
=zKlF
-----END PGP SIGNATURE-----
\
 
 \ /
  Last update: 2005-03-22 13:39    [W:0.066 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site