Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 May 2008 03:38:14 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if.c
Message-ID:  <200805170338.m4H3cELe011405@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805170338.m4H3cELe011405>