Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs Wait some seconds after the interface is brought up ...



details:   https://anonhg.NetBSD.org/src/rev/746441ba09cb
branches:  trunk
changeset: 476025:746441ba09cb
user:      drochner <drochner%NetBSD.org@localhost>
date:      Fri Sep 03 20:06:46 1999 +0000

description:
Wait some seconds after the interface is brought up before packets
are sent. Needed at least for if_ti to get the link up.

diffstat:

 sys/nfs/nfs_boot.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r ef36b9ce30a9 -r 746441ba09cb sys/nfs/nfs_boot.c
--- a/sys/nfs/nfs_boot.c        Fri Sep 03 17:07:52 1999 +0000
+++ b/sys/nfs/nfs_boot.c        Fri Sep 03 20:06:46 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_boot.c,v 1.51 1999/07/07 21:29:29 drochner Exp $   */
+/*     $NetBSD: nfs_boot.c,v 1.52 1999/09/03 20:06:46 drochner Exp $   */
 
 /*-
  * Copyright (c) 1995, 1997 The NetBSD Foundation, Inc.
@@ -211,6 +211,8 @@
                goto out;
        }
 
+       if (up)
+               delay(3000000); /* give the link some time to get up */
 out:
        soclose(so);
        return (error);
@@ -268,6 +270,7 @@
                goto out;
        }
 
+       delay(3000000); /* give the link some time to get up */
 out:
        soclose(so);
        return (error);



Home | Main Index | Thread Index | Old Index