| 217 | } |
| 218 | |
| 219 | void |
| 220 | mac_ipq_create(struct mbuf *m, struct ipq *q) |
| 221 | { |
| 222 | struct label *label; |
| 223 | |
| 224 | if (mac_policy_count == 0) |
| 225 | return; |
| 226 | |
| 227 | label = mac_mbuf_to_label(m); |
| 228 | |
| 229 | MAC_POLICY_PERFORM_NOSLEEP(ipq_create, m, label, q, q->ipq_label); |
| 230 | } |
| 231 | |
| 232 | void |
| 233 | mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m) |
no test coverage detected