diff options
| author | Jonathan Lemon <jlemon@FreeBSD.org> | 2003-03-04 23:19:55 +0000 |
|---|---|---|
| committer | Jonathan Lemon <jlemon@FreeBSD.org> | 2003-03-04 23:19:55 +0000 |
| commit | 1cafed3941f1a4e9d2beb4fb126e91018505dfd4 (patch) | |
| tree | f304f726e8973253d3e8a87e56119fec0276a61c /sys/net/if_loop.c | |
| parent | c141c242ac0a55a34b58cf2b06d13964d00507a4 (diff) | |
Notes
Diffstat (limited to 'sys/net/if_loop.c')
| -rw-r--r-- | sys/net/if_loop.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/net/if_loop.c b/sys/net/if_loop.c index c753fdc2b05c..3e0a8c52cc19 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -281,7 +281,6 @@ if_simloop(ifp, m, af, hlen) int hlen; { int isr; - struct ifqueue *inq = 0; KASSERT((m->m_flags & M_PKTHDR) != 0, ("if_simloop: no HDR")); m->m_pkthdr.rcvif = ifp; @@ -336,33 +335,28 @@ if_simloop(ifp, m, af, hlen) switch (af) { #ifdef INET case AF_INET: - inq = &ipintrq; isr = NETISR_IP; break; #endif #ifdef INET6 case AF_INET6: m->m_flags |= M_LOOP; - inq = &ip6intrq; isr = NETISR_IPV6; break; #endif #ifdef IPX case AF_IPX: - inq = &ipxintrq; isr = NETISR_IPX; break; #endif #ifdef NS case AF_NS: - inq = &nsintrq; isr = NETISR_NS; break; #endif #ifdef NETATALK case AF_APPLETALK: - inq = &atintrq2; - isr = NETISR_ATALK; + isr = NETISR_ATALK2; break; #endif default: @@ -372,8 +366,7 @@ if_simloop(ifp, m, af, hlen) } ifp->if_ipackets++; ifp->if_ibytes += m->m_pkthdr.len; - (void) IF_HANDOFF(inq, m, NULL); - schednetisr(isr); + netisr_dispatch(isr, m); return (0); } |
