summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_output.c
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-07-03 16:41:30 -0300
committerRenato Botelho <renato@netgate.com>2017-07-03 16:41:30 -0300
commitb91e8edec6ef973706ceba5985379a0aded6a5aa (patch)
tree92c1d3976fd61f447f3e62225141c02b6ef4c320 /sys/netinet6/ip6_output.c
parent5fa580e9c45b6668f134701651fa17cad722750e (diff)
parentff3a058c4f832f66c1a779cf9bd05f758ad411d8 (diff)
downloadFreeBSD-src-b91e8edec6ef973706ceba5985379a0aded6a5aa.zip
FreeBSD-src-b91e8edec6ef973706ceba5985379a0aded6a5aa.tar.gz
Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5
Diffstat (limited to 'sys/netinet6/ip6_output.c')
-rw-r--r--sys/netinet6/ip6_output.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 962fee3..551f174 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -324,6 +324,7 @@ ip6_output(struct mbuf *m0, struct ip6_pktopts *opt,
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 */
OpenPOWER on IntegriCloud