diff options
author | ume <ume@FreeBSD.org> | 2004-01-14 04:39:40 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-01-14 04:39:40 +0000 |
commit | 050a771ddf1b42721c4c7057ea386792642afcf4 (patch) | |
tree | d10c4a7cad0ebfe6dcfb5be8c873c713b3e637b8 /sys | |
parent | 2f5ae919c21b08f3317ea59875bfebfd09525c08 (diff) | |
download | FreeBSD-src-050a771ddf1b42721c4c7057ea386792642afcf4.zip FreeBSD-src-050a771ddf1b42721c4c7057ea386792642afcf4.tar.gz |
invalidate secpolicy pcb cache on key_timehandler. part of
http://sources.zabbadoz.net/freebsd/patchset/110-ipsec-netkey-key.diff
Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>
Reviewed by: itojun
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netkey/key.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netkey/key.c b/sys/netkey/key.c index 5906913..abb58f7 100644 --- a/sys/netkey/key.c +++ b/sys/netkey/key.c @@ -4325,6 +4325,9 @@ key_timehandler(arg) } } } + + /* invalidate all cached SPD pointers on pcb */ + ipsec_invalpcbcacheall(); } /* SAD */ |