DragonFly commits List (threaded) for 2008-10
DragonFly BSD
DragonFly commits List (threaded) for 2008-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/netinet ip_flow.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Oct 2008 02:57:11 -0700 (PDT)

sephe       2008/10/27 02:57:11 PDT

DragonFly src repository

  Modified files:
    sys/netinet          ip_flow.c 
  Log:
  - Move unlinking ipflow from table/list out of ipflow_free().
  - Factor out ipflow_reset() to clear statistics of ipflow to be reused.
  - Add flags field in ipflow.  Currently only one flag is defined to make
    sure that the state of the ipflow is correct (on/off the table/list).
  - Reference count ipflow, so the ipflow used to do the ifnet.if_output()
    will not be reaped or changed behind our back.  Add commet about it.
  - Don't change or reuse an ipflow if it is being actively used,
    i.e. ipf_refcnt > 1
  - Fortify ipflow code by putting assertion in proper places.
  - Pad ipflow structure explicitly.
  
  Revision  Changes    Path
  1.26      +78 -21    src/sys/netinet/ip_flow.c


http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_flow.c.diff?r1=1.25&r2=1.26&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]