Gleb Smirnoff 5c39f7bdeb 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
..
2011-04-13 11:28:46 +00:00
2011-11-11 22:27:09 +00:00
2011-08-20 17:05:11 +00:00
2012-01-07 00:11:36 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-04-30 11:22:30 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-01-07 21:40:34 +00:00
2011-10-21 12:58:34 +00:00
2011-08-20 17:05:11 +00:00
2011-10-16 10:58:00 +00:00
2011-01-07 21:40:34 +00:00