diff options
author | karels <karels@FreeBSD.org> | 2016-08-20 20:56:36 +0000 |
---|---|---|
committer | karels <karels@FreeBSD.org> | 2016-08-20 20:56:36 +0000 |
commit | 3d653700f4fd16efcb6308f5b0dcb1fbe60e7d87 (patch) | |
tree | 9dc2edb38c71b8e08b5a73665dd8f283c05f6b0a | |
parent | ac8ae33bf9ecdc6e709c7ddc7873eaf37b9b7b67 (diff) | |
download | FreeBSD-src-3d653700f4fd16efcb6308f5b0dcb1fbe60e7d87.zip FreeBSD-src-3d653700f4fd16efcb6308f5b0dcb1fbe60e7d87.tar.gz |
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
-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 b44fb9e..0904e86 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: |