Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 Amend missed messages:



details:   https://anonhg.NetBSD.org/src/rev/8f04fceec467
branches:  trunk
changeset: 953378:8f04fceec467
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 07 15:03:32 2021 +0000

description:
Amend missed messages:

netinet6: Pick IPv6 fragment ids uniformly at random.

Expected number of packets before collision is ~2^16, about the same
as we get for IPv4 with alternating disjoint random cycles.  Keep it
simple unless we determine we really need something much better for
IPv6 than what IPv4 can achieve anyway.

netinet6: Rip out now-unused IPv6 fragment id logic.

(from riastradh)

diffstat:

 sys/netinet6/ip6_id.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5e406bddc19f -r 8f04fceec467 sys/netinet6/ip6_id.c
--- a/sys/netinet6/ip6_id.c     Sun Mar 07 15:01:00 2021 +0000
+++ b/sys/netinet6/ip6_id.c     Sun Mar 07 15:03:32 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_id.c,v 1.20 2021/03/07 14:59:36 christos Exp $     */
+/*     $NetBSD: ip6_id.c,v 1.21 2021/03/07 15:03:32 christos Exp $     */
 
 /*-
  * Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_id.c,v 1.20 2021/03/07 14:59:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_id.c,v 1.21 2021/03/07 15:03:32 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/cprng.h>



Home | Main Index | Thread Index | Old Index