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-04-12 08:13:18 +00:00
2011-11-07 15:43:11 +00:00
2011-11-07 15:43:11 +00:00
2011-04-12 08:13:18 +00:00
2011-06-06 03:06:43 +00:00
2010-12-15 22:58:45 +00:00
2012-01-08 17:25:15 +00:00
2012-01-08 13:34:00 +00:00
2012-01-05 19:00:36 +00:00
2011-10-15 16:28:06 +00:00
2011-06-28 11:57:25 +00:00
2012-01-05 19:00:36 +00:00
2012-01-05 19:00:36 +00:00
2011-11-06 10:47:20 +00:00
2011-06-06 12:55:02 +00:00
2012-01-09 08:50:22 +00:00
2010-11-22 19:32:54 +00:00
2012-01-08 17:20:29 +00:00
2012-01-05 19:00:36 +00:00
2011-10-15 18:41:25 +00:00
2010-11-27 21:51:39 +00:00
2012-01-05 19:00:36 +00:00
2011-12-20 13:53:31 +00:00
2011-11-07 15:43:11 +00:00
2010-12-05 01:09:48 +00:00
2011-08-20 17:05:11 +00:00
2012-01-07 00:11:36 +00:00
2012-01-05 19:00:36 +00:00
2011-06-08 03:02:11 +00:00
2011-11-07 15:43:11 +00:00
2010-06-02 15:44:43 +00:00
2010-10-14 12:32:49 +00:00
2011-11-06 10:47:20 +00:00
2011-12-29 20:41:16 +00:00
2010-06-02 15:44:43 +00:00
2012-01-02 09:18:58 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-05 19:00:36 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-27 10:16:24 +00:00
2011-02-05 12:12:51 +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-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-08 09:56:24 +00:00
2011-12-17 19:21:40 +00:00
2011-02-05 12:12:51 +00:00
2011-04-30 11:22:30 +00:00
2011-12-17 19:21:40 +00:00
2011-12-29 18:25:18 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +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-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-08 09:56:24 +00:00
2012-01-08 09:56:24 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2011-12-17 19:21:40 +00:00
2011-12-27 10:16:24 +00:00
2011-12-27 10:16:24 +00:00
2011-12-17 19:21:40 +00:00
2012-01-08 09:56:24 +00:00
2011-12-17 19:21:40 +00:00
2011-05-30 09:43:55 +00:00
2011-11-07 15:43:11 +00:00
2012-01-05 22:29:11 +00:00
2011-07-05 18:43:54 +00:00
2011-01-07 21:40:34 +00:00
2011-02-21 09:01:34 +00:00
2011-11-02 20:58:47 +00:00
2011-11-27 02:32:08 +00:00
2011-03-28 19:03:56 +00:00
2011-07-14 13:44:48 +00:00
2011-11-07 15:43:11 +00:00
2011-07-17 21:15:20 +00:00
2011-10-12 19:52:23 +00:00
2010-09-16 21:06:45 +00:00
2012-01-06 12:49:01 +00:00
2012-01-06 18:29:40 +00:00
2011-10-16 20:06:44 +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