Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2016 20:46:54 +0000 (UTC)
From:      Mike Karels <karels@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304545 - head/sys/netinet6
Message-ID:  <201608202046.u7KKksdN031558@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608202046.u7KKksdN031558>