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

cvs commit: src/sys/net/ipfw ip_fw2.c


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 5 Nov 2007 01:25:44 -0800 (PST)

sephe       2007/11/05 01:25:44 PST

DragonFly src repository

  Modified files:
    sys/net/ipfw         ip_fw2.c 
  Log:
  In free_chain() if we are asked to "kill default":
  - Set default rule pointer to NULL
  - Free dynamic rules(states) hash table.  This avoids memory leakage when
    unloading ipfw(4) module, if dynamic rules(states) are created.
  
  Revision  Changes    Path
  1.35      +12 -2     src/sys/net/ipfw/ip_fw2.c


http://www.dragonflybsd.org/cvsweb/src/sys/net/ipfw/ip_fw2.c.diff?r1=1.34&r2=1.35&f=u



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