Author: karels
Date: Mon Aug 22 22:29:57 2016
New Revision: 304642
URL: https://svnweb.freebsd.org/changeset/base/304642

Log:
  MFC r304546: Disable L2 caching for UDP over IPv6
  
  The ip6_output routine is missing L2 cache invalication as done
  in ip_output.  Even with that code, some problems with UDP over
  IPv6 have been reported.  Diabling L2 cache for that problem works
  around the problem for now.
  
  PR:             211872 211926
  Reviewed by:    gnn
  Approved by:    gnn (mentor)
  Approved by:    re (gjb)
  Tested by:      peter@, Mike Andrews

Modified:
  releng/11.0/sys/netinet6/udp6_usrreq.c
Directory Properties:
  releng/11.0/   (props changed)

Modified: releng/11.0/sys/netinet6/udp6_usrreq.c
==============================================================================
--- releng/11.0/sys/netinet6/udp6_usrreq.c      Mon Aug 22 22:28:41 2016        
(r304641)
+++ releng/11.0/sys/netinet6/udp6_usrreq.c      Mon Aug 22 22:29:57 2016        
(r304642)
@@ -898,7 +898,7 @@ udp6_output(struct inpcb *inp, struct mb
 
                UDP_PROBE(send, NULL, inp, ip6, inp, udp6);
                UDPSTAT_INC(udps_opackets);
-               error = ip6_output(m, optp, &inp->inp_route6, flags,
+               error = ip6_output(m, optp, NULL, flags,
                    inp->in6p_moptions, NULL, inp);
                break;
        case AF_INET:
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to