summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_forward.c8
-rw-r--r--sys/netinet6/ip6_input.c6
2 files changed, 4 insertions, 10 deletions
diff --git a/sys/netinet6/ip6_forward.c b/sys/netinet6/ip6_forward.c
index 7448d6f3f59..c481e36c7a8 100644
--- a/sys/netinet6/ip6_forward.c
+++ b/sys/netinet6/ip6_forward.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_forward.c,v 1.37 2006/11/27 12:27:45 henning Exp $ */
+/* $OpenBSD: ip6_forward.c,v 1.38 2007/05/28 17:16:39 henning Exp $ */
/* $KAME: ip6_forward.c,v 1.75 2001/06/29 12:42:13 jinmei Exp $ */
/*
@@ -104,9 +104,6 @@ ip6_forward(m, srcrt)
struct tdb *tdb;
int s;
#endif /* IPSEC */
-#if NPF > 0
- struct pf_mtag *pft;
-#endif
int rtableid = 0;
/*
@@ -220,8 +217,7 @@ ip6_forward(m, srcrt)
#endif /* IPSEC */
#if NPF > 0
- if ((pft = pf_find_mtag(m)) != NULL)
- rtableid = pft->rtableid;
+ rtableid = m->m_pkthdr.pf.rtableid;
#endif
/*
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 1aea3ae6747..b4262fb0326 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.76 2007/05/08 23:23:16 mcbride Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.77 2007/05/28 17:16:39 henning Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -206,7 +206,6 @@ ip6_input(m)
struct ifnet *deliverifp = NULL;
#if NPF > 0
struct in6_addr odst;
- struct pf_mtag *pft;
#endif
int srcrt = 0, rtableid = 0;
@@ -431,8 +430,7 @@ ip6_input(m)
}
#if NPF > 0
- if ((pft = pf_find_mtag(m)) != NULL)
- rtableid = pft->rtableid;
+ rtableid = m->m_pkthdr.pf.rtableid;
#endif
/*