Author: karels
Date: Sat Aug 20 20:56:36 2016
New Revision: 304546
URL: https://svnweb.freebsd.org/changeset/base/304546

Log:
  MFC r304545: 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)
  Tested by:    peter@, Mike Andrews
  MFC after:    immediate

Modified:
  stable/11/sys/netinet6/udp6_usrreq.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet6/udp6_usrreq.c
==============================================================================
--- stable/11/sys/netinet6/udp6_usrreq.c        Sat Aug 20 20:46:53 2016        
(r304545)
+++ stable/11/sys/netinet6/udp6_usrreq.c        Sat Aug 20 20:56:36 2016        
(r304546)
@@ -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