projects
/
apple
/
xnu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xnu-2050.48.11.tar.gz
[apple/xnu.git]
/
bsd
/
netkey
/
key.c
diff --git
a/bsd/netkey/key.c
b/bsd/netkey/key.c
index d1d59cd6fb56a6d00cd3e0b00b62fae42cb50969..ffbdcf88ea40764cc15a264aeaa87cf0ebf31ad9 100644
(file)
--- a/
bsd/netkey/key.c
+++ b/
bsd/netkey/key.c
@@
-583,7
+583,9
@@
key_init(void)
{
int i;
-
+
+ _CASSERT(PFKEY_ALIGN8(sizeof(struct sadb_msg)) <= _MHLEN);
+
sadb_mutex_grp_attr = lck_grp_attr_alloc_init();
sadb_mutex_grp = lck_grp_alloc_init("sadb", sadb_mutex_grp_attr);
sadb_mutex_attr = lck_attr_alloc_init();