summaryrefslogtreecommitdiff
path: root/sys/net/if_stf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_stf.c')
-rw-r--r--sys/net/if_stf.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/net/if_stf.c b/sys/net/if_stf.c
index 1d84836eb8797..e8ed1ca0db3cf 100644
--- a/sys/net/if_stf.c
+++ b/sys/net/if_stf.c
@@ -614,8 +614,6 @@ in_stf_input(m, off)
struct ip *ip;
struct ip6_hdr *ip6;
u_int8_t otos, itos;
- int len, isr;
- struct ifqueue *ifq = NULL;
struct ifnet *ifp;
proto = mtod(m, struct ip *)->ip_p;
@@ -708,15 +706,9 @@ in_stf_input(m, off)
* See net/if_gif.c for possible issues with packet processing
* reorder due to extra queueing.
*/
- ifq = &ip6intrq;
- isr = NETISR_IPV6;
-
- len = m->m_pkthdr.len;
- if (! IF_HANDOFF(ifq, m, NULL))
- return;
- schednetisr(isr);
ifp->if_ipackets++;
- ifp->if_ibytes += len;
+ ifp->if_ibytes += m->m_pkthdr.len;
+ netisr_dispatch(NETISR_IPV6, m);
}
/* ARGSUSED */