cvs commit: src/sys/net if.c
Brooks Davis
brooks at FreeBSD.org
Sat May 17 03:38:14 UTC 2008
brooks 2008-05-17 03:38:14 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
The if_check() function performed three actions:
- verified that the ifp->if_snd.ifq_mtx was initalized for
all attached interfaces. This was pointless because it was
initalized for all interfaces in if_attach() so I've removed it.
- Checked that ifp->if_snd.ifq_maxlen is initalized and set it to
ifqmaxlen if unset. This makes more sense in if_attach() so
I moved it there.
- The first call of if_slowtimo(). Delete if_check() and call
if_slowtimo() directly from the SYSINIT().
Revision Changes Path
1.280 +10 -28 src/sys/net/if.c
More information about the cvs-src
mailing list