Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/net Import fixes from HEAD



details:   https://anonhg.NetBSD.org/src/rev/715681007315
branches:  pgoyette-compat
changeset: 321134:715681007315
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Mar 30 23:56:18 2018 +0000

description:
Import fixes from HEAD

diffstat:

 sys/net/if_spppsubr.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 9fa79e89b02d -r 715681007315 sys/net/if_spppsubr.c
--- a/sys/net/if_spppsubr.c     Fri Mar 30 23:49:42 2018 +0000
+++ b/sys/net/if_spppsubr.c     Fri Mar 30 23:56:18 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_spppsubr.c,v 1.179.2.1 2018/03/21 10:12:49 pgoyette Exp $    */
+/*     $NetBSD: if_spppsubr.c,v 1.179.2.2 2018/03/30 23:56:18 pgoyette Exp $    */
 
 /*
  * Synchronous PPP/Cisco link level subroutines.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.179.2.1 2018/03/21 10:12:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_spppsubr.c,v 1.179.2.2 2018/03/30 23:56:18 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -2275,6 +2275,7 @@
                            "%s: Down event (carrier loss)\n",
                            ifp->if_xname);
        }
+       sp->fail_counter[IDX_LCP] = 0;
        sp->pp_flags &= ~PP_CALLIN;
        if (sp->state[IDX_LCP] != STATE_INITIAL)
                lcp.Close(sp);



Home | Main Index | Thread Index | Old Index