diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-12 13:34:13 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-09-12 13:34:13 +0000 |
commit | a1fc86fc8aa7ab8b4acc2911516d1ba1ca1ff242 (patch) | |
tree | c13a07546dbecc7fda66a139aa86e7da044ce8f9 /sys/netinet6/mld6.c | |
parent | 71d3f07e99601b0f289beee02fd0e542ab3aa6c2 (diff) |
Introduce if_input_local() a function to feed local traffic back to
the protocol queues.
It basically does what looutput() was doing but having a generic
function will allow us to get rid of the loopback hack overwwritting
the rt_ifp field of RTF_LOCAL routes.
ok mikeb@, dlg@, claudio@
Diffstat (limited to 'sys/netinet6/mld6.c')
-rw-r--r-- | sys/netinet6/mld6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/mld6.c b/sys/netinet6/mld6.c index 0bca05f3e9d..d9aa23a6cb1 100644 --- a/sys/netinet6/mld6.c +++ b/sys/netinet6/mld6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mld6.c,v 1.45 2015/09/11 08:17:06 claudio Exp $ */ +/* $OpenBSD: mld6.c,v 1.46 2015/09/12 13:34:12 mpi Exp $ */ /* $KAME: mld6.c,v 1.26 2001/02/16 14:50:35 itojun Exp $ */ /* @@ -287,7 +287,7 @@ mld6_input(struct mbuf *m, int off) * router, so discard reports sourced by me. * Note that it is impossible to check IFF_LOOPBACK flag of * ifp for this purpose, since ip6_mloopback pass the physical - * interface to looutput. + * interface to if_input_local(). */ if (m->m_flags & M_LOOP) /* XXX: grotty flag, but efficient */ break; |