Christian S.J. Peron
d94f2a68f8
Introduce a new entry point, mac_create_mbuf_from_firewall. This entry point
...
exists to allow the mandatory access control policy to properly initialize
mbufs generated by the firewall. An example where this might happen is keep
alive packets, or ICMP error packets in response to other packets.
This takes care of kernel panics associated with un-initialize mbuf labels
when the firewall generates packets.
[1] I modified this patch from it's original version, the initial patch
introduced a number of entry points which were programmatically
equivalent. So I introduced only one. Instead, we should leverage
mac_create_mbuf_netlayer() which is used for similar situations,
an example being icmp_error()
This will minimize the impact associated with the MFC
Submitted by: mlaier [1]
MFC after: 1 week
This is a RELENG_6 candidate
2006-09-12 04:25:13 +00:00
..
2006-03-03 21:37:38 +00:00
2006-03-03 21:37:38 +00:00
2004-08-30 03:35:17 +00:00
2006-05-30 09:38:54 +00:00
2006-09-05 16:55:13 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2004-05-26 00:53:10 +00:00
2005-01-26 16:29:07 +00:00
2006-01-25 18:11:59 +00:00
2005-10-14 23:30:17 +00:00
2005-04-20 12:28:20 +00:00
2005-10-14 23:30:17 +00:00
2005-03-31 18:19:55 +00:00
2006-02-07 18:13:56 +00:00
2005-10-14 23:30:17 +00:00
2006-07-27 19:12:49 +00:00
2006-03-11 08:42:08 +00:00
2006-04-03 18:14:02 +00:00
2006-06-08 23:36:35 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-02-25 06:59:56 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2006-04-10 19:55:23 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-01-26 16:29:07 +00:00
2006-07-01 10:51:55 +00:00
2006-07-26 22:07:39 +00:00
2005-10-14 23:30:17 +00:00
2005-12-29 01:43:47 +00:00
2004-08-16 15:24:03 +00:00
2005-09-27 18:10:43 +00:00
2006-03-16 15:18:17 +00:00
2004-09-01 06:51:43 +00:00
2006-02-27 12:04:13 +00:00
2006-03-16 15:18:17 +00:00
2006-05-30 09:38:54 +00:00
2006-02-27 16:56:22 +00:00
2004-09-04 03:32:15 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-10-18 06:11:08 +00:00
2005-10-14 23:30:17 +00:00
2004-10-13 05:41:09 +00:00
2006-02-26 17:51:22 +00:00
2005-10-14 23:30:17 +00:00
2005-12-03 01:23:50 +00:00
2006-03-17 18:54:44 +00:00
2005-10-05 05:26:03 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-07-13 14:53:59 +00:00
2005-05-19 14:51:10 +00:00
2004-05-26 00:53:10 +00:00
2004-05-26 00:53:10 +00:00
2005-06-15 02:36:11 +00:00
2005-10-14 23:30:17 +00:00
2006-05-30 09:38:54 +00:00
2004-05-26 00:53:10 +00:00
2006-02-18 23:49:28 +00:00
2006-01-29 02:52:42 +00:00
2005-09-27 18:10:43 +00:00
2006-06-09 17:36:50 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2004-08-14 22:40:16 +00:00
2005-03-28 09:41:25 +00:00
2005-09-07 23:33:26 +00:00
2006-07-27 19:12:49 +00:00
2005-12-21 15:49:51 +00:00
2004-05-11 18:21:38 +00:00
2005-01-26 16:29:07 +00:00
2006-07-26 22:15:15 +00:00
2005-10-14 23:30:17 +00:00
2006-08-14 13:28:53 +00:00
2005-10-14 23:30:17 +00:00
2006-03-17 18:54:44 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2006-08-14 13:28:53 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2006-02-17 10:52:59 +00:00
2004-12-29 08:44:30 +00:00
2005-10-14 23:30:17 +00:00
2004-10-19 21:14:57 +00:00
2006-03-17 18:54:44 +00:00
2006-09-12 04:25:13 +00:00
2006-02-10 20:51:35 +00:00
2005-09-27 18:10:43 +00:00
2004-08-12 17:41:33 +00:00
2006-08-26 18:40:25 +00:00
2006-03-12 19:06:06 +00:00
2005-09-27 18:10:43 +00:00
2004-05-26 00:53:10 +00:00
2006-03-01 18:34:48 +00:00
2005-09-27 18:10:43 +00:00
2006-05-17 21:25:23 +00:00
2005-09-27 18:10:43 +00:00
2005-06-20 08:33:29 +00:00
2006-08-15 13:01:36 +00:00
2006-08-15 13:01:36 +00:00
2006-08-15 13:01:36 +00:00
2005-10-05 10:07:27 +00:00
2004-12-30 13:49:01 +00:00
2005-11-11 11:31:23 +00:00
2004-12-29 08:44:30 +00:00
2006-05-29 18:05:26 +00:00
2006-07-25 00:20:11 +00:00
2005-07-10 15:07:57 +00:00
2005-11-27 08:30:12 +00:00
2004-09-04 06:37:58 +00:00
2004-12-12 20:05:50 +00:00
2006-06-13 13:53:52 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-08-14 13:28:53 +00:00
2006-06-26 23:41:07 +00:00
2006-02-18 23:49:28 +00:00
2006-02-18 23:49:28 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-03-12 08:02:06 +00:00
2006-01-26 19:21:27 +00:00
2005-02-03 23:01:01 +00:00
2006-07-22 16:18:47 +00:00
2005-10-14 23:30:17 +00:00
2005-09-20 06:48:55 +00:00
2005-09-27 18:10:43 +00:00
2005-06-03 15:35:36 +00:00
2006-09-12 04:25:13 +00:00
2006-03-17 18:54:44 +00:00
2005-05-10 12:02:18 +00:00
2006-08-01 22:19:01 +00:00
2006-06-18 05:04:42 +00:00
2005-08-18 14:50:08 +00:00
2005-03-14 16:04:27 +00:00
2006-04-28 21:21:53 +00:00
2006-03-05 20:38:55 +00:00
2004-05-26 00:53:10 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-06-18 17:10:50 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-05-05 14:26:28 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-04-01 04:54:47 +00:00
2005-05-04 10:39:15 +00:00
2005-09-27 18:10:43 +00:00
2006-04-28 21:21:53 +00:00
2005-09-27 18:10:43 +00:00
2006-04-27 00:14:02 +00:00
2005-07-14 15:57:01 +00:00
2006-03-05 22:52:17 +00:00
2004-05-26 00:53:10 +00:00
2005-10-14 23:30:17 +00:00
2005-09-19 10:14:05 +00:00
2006-09-04 07:40:53 +00:00
2005-11-11 09:57:32 +00:00
2004-08-06 20:37:08 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-07-25 00:45:55 +00:00
2006-07-01 10:51:55 +00:00
2006-07-01 10:51:55 +00:00
2005-07-10 11:47:04 +00:00
2005-02-09 08:35:24 +00:00
2005-12-10 00:38:33 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2006-02-18 23:49:28 +00:00
2005-08-10 04:01:21 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2006-03-30 18:39:24 +00:00
2004-12-29 08:50:35 +00:00
2005-10-14 23:30:17 +00:00
2004-12-29 08:50:35 +00:00
2004-12-29 08:50:35 +00:00
2004-12-29 08:50:35 +00:00
2005-09-27 18:10:43 +00:00
2005-06-04 10:58:39 +00:00
2004-06-27 12:33:20 +00:00
2006-01-09 17:46:36 +00:00
2005-03-14 10:23:34 +00:00
2004-12-29 08:50:35 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-10-14 23:30:17 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2004-12-29 08:50:35 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2004-12-29 08:50:35 +00:00
2005-09-27 18:10:43 +00:00
2004-12-29 08:50:35 +00:00
2005-06-04 10:58:39 +00:00
2005-06-04 10:58:39 +00:00
2005-02-25 09:49:29 +00:00
2004-12-29 08:50:35 +00:00
2004-12-29 08:50:35 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-09-27 18:10:43 +00:00
2005-10-14 23:30:17 +00:00
2005-10-14 23:30:17 +00:00
2004-12-08 17:38:38 +00:00
2004-12-16 01:10:48 +00:00
2004-12-08 17:38:38 +00:00
2004-12-08 17:38:38 +00:00
2004-12-08 17:38:38 +00:00
2004-05-26 00:53:10 +00:00
2006-06-09 06:10:17 +00:00
2005-09-27 18:10:43 +00:00
2004-06-20 17:42:35 +00:00
2006-09-09 16:58:22 +00:00