diff options
| author | 2003-01-07 09:00:33 +0000 | |
|---|---|---|
| committer | 2003-01-07 09:00:33 +0000 | |
| commit | 9ec2c59632ec144c188814a23709c9f368cac84c (patch) | |
| tree | 35dd0641d22d40287cabe8f783c7c3d9d34b25ce /sys/net/if_loop.c | |
| parent | do the busy wait loops my favourite style and merry xmas (diff) | |
| download | wireguard-openbsd-9ec2c59632ec144c188814a23709c9f368cac84c.tar.xz wireguard-openbsd-9ec2c59632ec144c188814a23709c9f368cac84c.zip | |
remove the altq classifier code which is replaced by pf and no longer used.
ok henning@, deraadt@
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 2a15e53f12c..e9007158fd5 100644 --- a/sys/net/if_loop.c +++ b/sys/net/if_loop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_loop.c,v 1.25 2002/09/11 05:38:47 itojun Exp $ */ +/* $OpenBSD: if_loop.c,v 1.26 2003/01/07 09:00:33 kjc Exp $ */ /* $NetBSD: if_loop.c,v 1.15 1996/05/07 02:40:33 thorpej Exp $ */ /* @@ -266,16 +266,9 @@ looutput(ifp, m, dst, rt) */ if ((ALTQ_IS_ENABLED(&ifp->if_snd) || TBR_IS_ENABLED(&ifp->if_snd)) && ifp->if_start == lo_altqstart) { - struct altq_pktattr pktattr; int32_t *afp; int error; - /* - * if the queueing discipline needs packet classification, - * do it before prepending link headers. - */ - IFQ_CLASSIFY(&ifp->if_snd, m, dst->sa_family, &pktattr); - M_PREPEND(m, sizeof(int32_t), M_DONTWAIT); if (m == 0) return (ENOBUFS); @@ -283,7 +276,7 @@ looutput(ifp, m, dst, rt) *afp = (int32_t)dst->sa_family; s = splimp(); - IFQ_ENQUEUE(&ifp->if_snd, m, &pktattr, error); + IFQ_ENQUEUE(&ifp->if_snd, m, NULL, error); (*ifp->if_start)(ifp); splx(s); return (error); |
