git: kernel - Silently accept any value for IPV6_V6ONLY sockopt

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 30 19:14:33 PDT 2022


commit c190e6d4c7814d99d069e2d6a1a121d0ae4da964
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 30 19:11:11 2022 -0700

    kernel - Silently accept any value for IPV6_V6ONLY sockopt
    
    * Numerous utilities including named behave horribly if the IPV6_V6ONLY
      socketopt returns a failure.  We were returning failure if anyone
      attempted to set it to 0.
    
    * just silently ignore the value entirely, always return success.  Fixes
      named, libuv (which named uses), and numerous other ports that use
      libuv or otherwise stupidly mess with this socketopt.
    
    Reported-by: tuxillo

Summary of changes:
 sys/netinet6/ip6_output.c | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c190e6d4c7814d99d069e2d6a1a121d0ae4da964


-- 
DragonFly BSD source repository


More information about the Commits mailing list