NetBSD-Bugs archive

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

PR/58508 CVS commit: src/sys/net



The following reply was made to PR kern/58508; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/58508 CVS commit: src/sys/net
Date: Mon, 29 Jul 2024 02:33:27 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Jul 29 02:33:27 UTC 2024
 
 Modified Files:
 	src/sys/net: if_wg.c
 
 Log Message:
 wg(4): Queue pending packet in FIFO order, not LIFO order.
 
 Sometimes the session takes a seconds to establish, for whatever
 reason.  It is better if the pending packet, which we queue up to
 send as soon as we get the responder's handshake response, is the
 most recent packet, rather than the first packet.
 
 That way, we don't wind up with a weird multi-second-delayed ping,
 followed by a bunch of dropped, followed by normal ping timings, or
 wind up sending the first TCP SYN instead of the most recent, or what
 have you.  Senders need to be prepared to retransmit anyway if
 packets are dropped.
 
 PR kern/58508: experimental wg(4) queues LIFO, not FIFO, pending
 first handshake
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.114 -r1.115 src/sys/net/if_wg.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index