Date: Thu, 25 May 2017 01:14:34 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r318846 - stable/11/sys/netinet6 Message-ID: <201705250114.v4P1EYkO024410@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Thu May 25 01:14:34 2017 New Revision: 318846 URL: https://svnweb.freebsd.org/changeset/base/318846 Log: MFC r318124: ip6_output runs with the inp lock held, just like ip_output. Modified: stable/11/sys/netinet6/ip6_output.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/netinet6/ip6_output.c ============================================================================== --- stable/11/sys/netinet6/ip6_output.c Thu May 25 01:09:45 2017 (r318845) +++ stable/11/sys/netinet6/ip6_output.c Thu May 25 01:14:34 2017 (r318846) @@ -324,6 +324,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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705250114.v4P1EYkO024410>