CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2020/08/21 16:59:27

Modified files:
        sys/net        : if_aggr.c if_bpe.c if_etherip.c if_gif.c 
                         if_gre.c if_mpe.c if_mpip.c if_mpw.c if_pair.c 
                         if_pflog.c if_pflow.c if_pfsync.c if_ppp.c 
                         if_pppoe.c if_tpmr.c if_tun.c if_vether.c 
                         if_vxlan.c if_wg.c 

Log message:
Leave default ifq_maxlen handling to ifq_init()

Most clonable interface drivers (except bridge, enc, loop, pppx,
switch, trunk and vlan) initialise the send queue's length to IFQ_MAXLEN
during *_clone_create() even though ifq_init(), which is eventually called
through if_attach(), does the same.

Remove all early "ifq_set_maxlen(&ifq->if_snd, IFQ_MAXLEN);" lines to leave
it to ifq_init() and have clonable drivers a tad more in sync.

OK mvs

Reply via email to