summaryrefslogtreecommitdiff
path: root/sys/netinet6/mld6.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-06-01 00:52:40 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-06-01 00:52:40 +0000
commit078e3b8342fd27a3f38f7aa29dbbde3c07273337 (patch)
tree4a5ad6410095ab27fe1e6014e3797bfe206f2d42 /sys/netinet6/mld6.c
parent0ac0ef2090fda4d15062e512580f65fa7d930e93 (diff)
apply the "skip ipsec if there are no flows" speedup diff to IPv6 too.
we need a pointer to the inpcb to decide, which was not previously passed to ip6_output, so this diff is a little bigger. from itojun, ok ryan
Diffstat (limited to 'sys/netinet6/mld6.c')
-rw-r--r--sys/netinet6/mld6.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c
index 148135d968f..5f8a130db23 100644
--- a/sys/netinet6/mld6.c
+++ b/sys/netinet6/mld6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mld6.c,v 1.23 2006/12/09 01:12:28 itojun Exp $ */
+/* $OpenBSD: mld6.c,v 1.24 2007/06/01 00:52:38 henning Exp $ */
/* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */
/*
@@ -462,5 +462,6 @@ mld6_sendpkt(in6m, type, dst)
break;
}
- ip6_output(mh, &ip6_opts, NULL, ia ? 0 : IPV6_UNSPECSRC, &im6o, NULL);
+ ip6_output(mh, &ip6_opts, NULL, ia ? 0 : IPV6_UNSPECSRC, &im6o, NULL,
+ NULL);
}