diff options
author | Mike Karels <karels@FreeBSD.org> | 2016-08-20 20:46:53 +0000 |
---|---|---|
committer | Mike Karels <karels@FreeBSD.org> | 2016-08-20 20:46:53 +0000 |
commit | db727c1bd72c17c90d177257b546c5ff9d1d3ecd (patch) | |
tree | 0fb1cf8621482ffbb0eb6e3add03815fb0341434 | |
parent | 70a98c110e711d5c90954faaa02d76e79c64a10d (diff) | |
download | src-db727c1bd72c17c90d177257b546c5ff9d1d3ecd.tar.gz src-db727c1bd72c17c90d177257b546c5ff9d1d3ecd.zip |
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
Notes
Notes:
svn path=/head/; revision=304545
-rw-r--r-- | sys/netinet6/udp6_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index b44fb9ecb5f1..0904e86f9609 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -898,7 +898,7 @@ udp6_output(struct inpcb *inp, struct mbuf *m, struct sockaddr *addr6, 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: |