DragonFly BSD
DragonFly bugs List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: nis problems


From: Jeffrey Hsu <hsu@xxxxxxxxxxx>
Date: Sun, 04 Apr 2004 15:02:59 -0700

I think I understand the problem now.  The application is expecting the
implicit bind on output to be exactly the same as an explicit bind.
Can you see if this fixes it?  Thanks for tracking this down, Matt.

							Jeffrey

Index: udp_usrreq.c
===================================================================
RCS file: /j/dragonfly/dcvs/src/sys/netinet/udp_usrreq.c,v
retrieving revision 1.20
diff -u -p -r1.20 udp_usrreq.c
--- udp_usrreq.c	31 Mar 2004 07:21:38 -0000	1.20
+++ udp_usrreq.c	4 Apr 2004 22:01:26 -0000
@@ -730,6 +730,7 @@ udp_output(inp, m, dstaddr, control, td)
 		error = in_pcbbind(inp, (struct sockaddr *)NULL, td);
 		if (error)
 			goto release;
+		in_pcbinswildcardhash(inp);
 	}
 
 	if (dstaddr != NULL) {		/* destination address specified */


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