lkml.org 
[lkml]   [2000]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Call for 2.3.x Appletalk testers...
   Date: Mon, 13 Mar 2000 15:03:32 +0100
From: Thomas Sailer <sailer@ife.ee.ethz.ch>

With the appletalk code in 2.3.51, I can no longer use
netatalk. Both getzones and papstatus try to bind to
apparently the all zero address and get EADDRINUSE

Well, I did give people nearly a month to find bugs like
this when I made a call for testers way back then. Good
thing I just put it in, because this aparently made people
unlazy enough to test the changes and report problems :-)

This patch should fix the EADDRINUSE problem:

--- net/appletalk/ddp.c.~1~ Tue Feb 15 09:25:55 2000
+++ net/appletalk/ddp.c Mon Mar 13 17:41:15 2000
@@ -1378,11 +1378,12 @@

if (n < 0)
return n;
- } else
+ } else {
sk->protinfo.af_at.src_port = addr->sat_port;

- if (atalk_find_or_insert_socket(sk, addr) != NULL)
- return -EADDRINUSE;
+ if (atalk_find_or_insert_socket(sk, addr) != NULL)
+ return -EADDRINUSE;
+ }

sk->zapped = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.054 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site