[Midnightbsd-cvs] [MidnightBSD/src] 2f5820: Don't send an uninitialised traffic class in the I...

Lucas Holt noreply at github.com
Sun Nov 15 02:14:45 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 2f58201ffddabdf3b2a32b7bbabffc59c461f9db
      https://github.com/MidnightBSD/src/commit/2f58201ffddabdf3b2a32b7bbabffc59c461f9db
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/netinet/tcp_syncache.c

  Log Message:
  -----------
  Don't send an uninitialised traffic class in the IPv6 header, when
sending a TCP segment from the TCP SYN cache (like a SYN-ACK).
This fix initialises it to zero. This is correct for the ECN bits,
but is does not honor the DSCP what an application might have set via
the IPPROTO_IPV6 level socket options IPV6_TCLASS. That will be
fixed separately.




More information about the Midnightbsd-cvs mailing list