[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(usagi-users 00034) Re: licensing



In article <m3snp37qnl.fsf@xxxxxxxxxxxxxxxxxxxxx> (at 07 Nov 2000 16:22:54 +0100), "Alexandru Petrescu" <petrescu@xxxxxxx> says:

> I'm now troubled with userland applications using ipv4 sockets,
> strange.  I still need to spot the precise problem; I'll be getting
> back then.

Sorry for the mess.
Does this fix your problem?

Index: net/ipv4/tcp_ipv4.c
===================================================================
RCS file: /cvsroot/usagi/kernel/linux24/net/ipv4/tcp_ipv4.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- net/ipv4/tcp_ipv4.c	2000/11/17 09:05:48	1.17
+++ net/ipv4/tcp_ipv4.c	2000/11/17 16:30:43	1.18
@@ -1,4 +1,4 @@
-/* $USAGI: tcp_ipv4.c,v 1.17 2000/11/17 09:05:48 yoshfuji Exp $ */
+/* $USAGI: tcp_ipv4.c,v 1.18 2000/11/17 16:30:43 yoshfuji Exp $ */
 
 /*
  * INET		An implementation of the TCP/IP protocol suite for the LINUX
@@ -432,7 +432,7 @@
 	static const int maxscore = 4;
 #endif
 
-	hiscore=0;
+	hiscore=-1;
 	for(; sk; sk = sk->next) {
 		if(sk->num == hnum) {
 			__u32 rcv_saddr = sk->rcv_saddr;

-- 
Hideaki YOSHIFUJI @ USAGI Project  <yoshfuji@xxxxxxxxxxxxxx>
PGP5i FP: F731 6599 5EB2 BBA7 1515  1323 1806 A96F 5700 6B25