svn commit: r304545 - head/sys/netinet6

Mike Karels karels at FreeBSD.org
Sat Aug 20 20:46:55 UTC 2016


Author: karels
Date: Sat Aug 20 20:46:53 2016
New Revision: 304545
URL: https://svnweb.freebsd.org/changeset/base/304545

Log:
  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)
  MFC after:	immediate

Modified:
  head/sys/netinet6/udp6_usrreq.c

Modified: head/sys/netinet6/udp6_usrreq.c
==============================================================================
--- head/sys/netinet6/udp6_usrreq.c	Sat Aug 20 20:28:08 2016	(r304544)
+++ head/sys/netinet6/udp6_usrreq.c	Sat Aug 20 20:46:53 2016	(r304545)
@@ -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:


More information about the svn-src-all mailing list