]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
Merge from head/ 220800,220837,220914:
authorglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Jul 2011 14:30:06 +0000 (14:30 +0000)
committerglebius <glebius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 8 Jul 2011 14:30:06 +0000 (14:30 +0000)
commitba691593da4940cd08a86e80277979d7c0ed3840
tree1129cb42413ea6a5cda7492d6825bf2673c1adc4
parentf554db60b038e56a3778ecd4919984602038f8d8
Merge from head/ 220800,220837,220914:

Log:
  LibAliasInit() should allocate memory with M_WAITOK flag. Modify it
  and its callers.

Log:
  - Rewrite functions that copyin/out NAT configuration, so that they
    calculate required memory size dynamically.
  - Fix races on chain re-lock.
  - Introduce new field to ip_fw_chain - generation count. Now utilized
    only in the NAT configuration, but can be utilized wider in ipfw.
  - Get rid of NAT_BUF_LEN in ip_fw.h

  PR:           kern/143653

git-svn-id: svn://svn.freebsd.org/base/stable/8@223872 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/netgraph/ng_nat.c
sys/netinet/ip_fw.h
sys/netinet/ipfw/ip_fw_nat.c
sys/netinet/ipfw/ip_fw_private.h
sys/netinet/libalias/alias_db.c