summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-11-12 19:30:08 +0000
committerphk <phk@FreeBSD.org>1999-11-12 19:30:08 +0000
commit864110d383646ab4105940c13d58d1453bc2a268 (patch)
tree217944a5e630eb9c69ae34cef14c7c03ba727d80 /sys/net
parentb839b31fcc146e08e37ec28ee28b46fb6e6cf355 (diff)
downloadFreeBSD-src-864110d383646ab4105940c13d58d1453bc2a268.zip
FreeBSD-src-864110d383646ab4105940c13d58d1453bc2a268.tar.gz
Set the queue length.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_disc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c
index 97e23b1..b90a658 100644
--- a/sys/net/if_disc.c
+++ b/sys/net/if_disc.c
@@ -83,6 +83,7 @@ discattach(dummy)
ifp->if_type = IFT_LOOP;
ifp->if_hdrlen = 0;
ifp->if_addrlen = 0;
+ ifp->if_snd.ifq_maxlen = 20;
if_attach(ifp);
bpfattach(ifp, DLT_NULL, sizeof(u_int));
}
OpenPOWER on IntegriCloud