glebius 7b863fa87e Bunch of fixes to pfsync(4) module load/unload:
o Make the pfsync.ko actually usable. Before this change loading it
  didn't register protosw, so was a nop. However, a module /boot/kernel
  did confused users.
o Rewrite the way we are joining multicast group:
  - Move multicast initialization/destruction to separate functions.
  - Don't allocate memory if we aren't going to join a multicast group.
  - Use modern API for joining/leaving multicast group.
  - Now the utterly wrong pfsync_ifdetach() isn't needed.
o Move module initialization from SYSINIT(9) to moduledata_t method.
o Refuse to unload module, unless asked forcibly.
o Improve a bit some FreeBSD porting code:
  - Use separate malloc type.
  - Simplify swi sheduling.

This change is probably wrong from VIMAGE viewpoint, however pfsync
wasn't VIMAGE-correct before this change, too.

Glanced at by:	bz
2012-01-09 08:50:22 +00:00
..
2012-01-07 16:10:32 +00:00
2007-12-08 22:40:31 +00:00
2011-05-17 07:40:13 +00:00
2010-09-27 15:55:39 +00:00
2011-04-25 05:57:01 +00:00
pf
2011-05-17 07:40:13 +00:00
2011-01-31 21:03:08 +00:00
2011-06-11 21:41:44 +00:00
2010-02-27 19:02:21 +00:00
2011-05-04 07:34:44 +00:00
2010-01-11 23:32:36 +00:00
2009-03-11 12:55:12 +00:00
2011-02-27 19:44:10 +00:00