summaryrefslogtreecommitdiff
path: root/sys/net/if_atmsubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if_atmsubr.c')
-rw-r--r--sys/net/if_atmsubr.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/net/if_atmsubr.c b/sys/net/if_atmsubr.c
index 10157665c38..42ca58844c9 100644
--- a/sys/net/if_atmsubr.c
+++ b/sys/net/if_atmsubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_atmsubr.c,v 1.20 2002/06/30 14:09:32 art Exp $ */
+/* $OpenBSD: if_atmsubr.c,v 1.21 2003/01/07 09:00:33 kjc Exp $ */
/*
*
@@ -141,19 +141,11 @@ atm_output(ifp, m0, dst, rt0)
register struct rtentry *rt;
struct atmllc *atmllc;
u_int32_t atm_flags;
- ALTQ_DECL(struct altq_pktattr pktattr;)
if ((ifp->if_flags & (IFF_UP|IFF_RUNNING)) != (IFF_UP|IFF_RUNNING))
senderr(ENETDOWN);
/*
- * if the queueing discipline needs packet classification,
- * do it before prepending link headers.
- */
- IFQ_CLASSIFY(&ifp->if_snd, m,
- (dst != NULL ? dst->sa_family : AF_UNSPEC), &pktattr);
-
- /*
* check route
*/
if ((rt = rt0) != NULL) {
@@ -265,7 +257,7 @@ atm_output(ifp, m0, dst, rt0)
*/
len = m->m_pkthdr.len;
s = splimp();
- IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error);
+ IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error);
if (error) {
splx(s);
return (error);