svn commit: r322454 - stable/10/sys/netinet

2017-08-13 Thread Michael Tuexen
Author: tuexen
Date: Sun Aug 13 07:40:05 2017
New Revision: 322454
URL: https://svnweb.freebsd.org/changeset/base/322454

Log:
  MFC r317244:
  
  Represent "a syncache overflow hasn't happend yet" by using
  -(SYNCOOKIE_LIFETIME + 1) instead of INT64_MIN, since it is
  good enough and works when time_t is int32 or int64.
  
  Approved by:  re (kib)

Modified:
  stable/10/sys/netinet/tcp_syncache.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/tcp_syncache.c
==
--- stable/10/sys/netinet/tcp_syncache.cSun Aug 13 04:10:47 2017
(r322453)
+++ stable/10/sys/netinet/tcp_syncache.cSun Aug 13 07:40:05 2017
(r322454)
@@ -277,7 +277,8 @@ syncache_init(void)
 &V_tcp_syncache.hashbase[i].sch_mtx, 0);
V_tcp_syncache.hashbase[i].sch_length = 0;
V_tcp_syncache.hashbase[i].sch_sc = &V_tcp_syncache;
-   V_tcp_syncache.hashbase[i].sch_last_overflow = INT64_MIN;
+   V_tcp_syncache.hashbase[i].sch_last_overflow =
+   -(SYNCOOKIE_LIFETIME + 1);
}
 
/* Create the syncache entry zone. */
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"


svn commit: r322462 - stable/10/usr.sbin/bluetooth/rfcomm_pppd

2017-08-13 Thread Andriy Voskoboinyk
Author: avos
Date: Sun Aug 13 17:30:03 2017
New Revision: 322462
URL: https://svnweb.freebsd.org/changeset/base/322462

Log:
  MFC r322124:
  rfcomm_pppd.8: fix a typo (SPD -> SDP).
  
  Approved by:  re (marius)

Modified:
  stable/10/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8
==
--- stable/10/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8  Sun Aug 13 
16:44:55 2017(r322461)
+++ stable/10/usr.sbin/bluetooth/rfcomm_pppd/rfcomm_pppd.8  Sun Aug 13 
17:30:03 2017(r322462)
@@ -348,7 +348,7 @@ label.
 The
 .Nm
 utility in server mode will try to register the Bluetooth LAN Access Over PPP
-service with the local SPD daemon.
+service with the local SDP daemon.
 If the local SDP daemon is not running,
 .Nm
 will exit with an error.
___
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"