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

Sepherosa Ziehau sephe at
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 
  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

More information about the Commits mailing list