summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ethersubr.c
diff options
context:
space:
mode:
authormlaier <mlaier@FreeBSD.org>2004-03-02 14:37:23 +0000
committermlaier <mlaier@FreeBSD.org>2004-03-02 14:37:23 +0000
commita32329ae33708bef4a7f935763e39fac7a6930e3 (patch)
treedaafcb55037777f58b65ec4798b5bab10b010c09 /sys/net/if_ethersubr.c
parentc2d12bfbee885e14b2c8f2bd309974c222232785 (diff)
downloadFreeBSD-src-a32329ae33708bef4a7f935763e39fac7a6930e3.zip
FreeBSD-src-a32329ae33708bef4a7f935763e39fac7a6930e3.tar.gz
Two minor follow-ups on the MT_TAG removal:
ifp is now passed explicitly to ether_demux; no need to look it up again. Make mtag a global var in ip_input. Noticed by: rwatson Approved by: bms(mentor)
Diffstat (limited to 'sys/net/if_ethersubr.c')
-rw-r--r--sys/net/if_ethersubr.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 8df0cc4..aced961 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -607,9 +607,6 @@ ether_demux(struct ifnet *ifp, struct mbuf *m)
#endif
struct ip_fw *rule = ip_dn_claim_rule(m);
- if (rule != NULL)
- ifp = m->m_pkthdr.rcvif;
-
KASSERT(ifp != NULL, ("ether_demux: NULL interface pointer"));
eh = mtod(m, struct ether_header *);
OpenPOWER on IntegriCloud