Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/kern Pull up revision 1.51 (requested by fvdl):



details:   https://anonhg.NetBSD.org/src/rev/d22ada60552f
branches:  netbsd-1-5
changeset: 490352:d22ada60552f
user:      he <he%NetBSD.org@localhost>
date:      Fri Dec 15 00:08:53 2000 +0000

description:
Pull up revision 1.51 (requested by fvdl):
  Fix NFS+tcp client hangs on server or network outage.  Again,
  please note that this introduces yet another kernel interface
  change: sobind() gains an argument.

diffstat:

 sys/kern/uipc_socket.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 9f8c3281e825 -r d22ada60552f sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c    Fri Dec 15 00:08:32 2000 +0000
+++ b/sys/kern/uipc_socket.c    Fri Dec 15 00:08:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uipc_socket.c,v 1.50 2000/03/30 09:27:14 augustss Exp $        */
+/*     $NetBSD: uipc_socket.c,v 1.50.4.1 2000/12/15 00:08:53 he Exp $  */
 
 /*
  * Copyright (c) 1982, 1986, 1988, 1990, 1993
@@ -126,11 +126,11 @@
 }
 
 int
-sobind(so, nam)
+sobind(so, nam, p)
        struct socket *so;
        struct mbuf *nam;
+       struct proc *p;
 {
-       struct proc *p = curproc;               /* XXX */
        int s = splsoftnet();
        int error;
 



Home | Main Index | Thread Index | Old Index