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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Nov 5 01:26:15 PST 2007


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





More information about the Commits mailing list