svn commit: r318124 - head/sys/netinet6
Navdeep Parhar
np at FreeBSD.org
Wed May 10 00:14:57 UTC 2017
Author: np
Date: Wed May 10 00:14:55 2017
New Revision: 318124
URL: https://svnweb.freebsd.org/changeset/base/318124
Log:
ip6_output runs with the inp lock held, just like ip_output.
Modified:
head/sys/netinet6/ip6_output.c
Modified: head/sys/netinet6/ip6_output.c
==============================================================================
--- head/sys/netinet6/ip6_output.c Wed May 10 00:02:24 2017 (r318123)
+++ head/sys/netinet6/ip6_output.c Wed May 10 00:14:55 2017 (r318124)
@@ -325,6 +325,7 @@ ip6_output(struct mbuf *m0, struct ip6_p
uint32_t id;
if (inp != NULL) {
+ INP_LOCK_ASSERT(inp);
M_SETFIB(m, inp->inp_inc.inc_fibnum);
if ((flags & IP_NODEFAULTFLOWID) == 0) {
/* unconditionally set flowid */
More information about the svn-src-head
mailing list