| 493 | } |
| 494 | |
| 495 | void |
| 496 | mac_syncache_create_mbuf(struct label *sc_label, struct mbuf *m) |
| 497 | { |
| 498 | struct label *mlabel; |
| 499 | |
| 500 | M_ASSERTPKTHDR(m); |
| 501 | |
| 502 | if (mac_policy_count == 0) |
| 503 | return; |
| 504 | |
| 505 | mlabel = mac_mbuf_to_label(m); |
| 506 | |
| 507 | MAC_POLICY_PERFORM_NOSLEEP(syncache_create_mbuf, sc_label, m, |
| 508 | mlabel); |
| 509 | } |
no test coverage detected