diff options
author | Venkat Yekkirala <vyekkirala@TrustedCS.com> | 2007-01-16 03:38:45 +0300 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-01-24 07:25:41 +0300 |
commit | 334c85569b8adeaa820c0f2fab3c8f0a9dc8b92e (patch) | |
tree | a813e11fc4168e8eb2597364b7d809cd981859ac /mm | |
parent | d88ae4cc97b24783ee4480697fbdcc02ab4133a6 (diff) | |
download | linux-334c85569b8adeaa820c0f2fab3c8f0a9dc8b92e.tar.xz |
[SELINUX]: increment flow cache genid
Currently, old flow cache entries remain valid even after
a reload of SELinux policy.
This patch increments the flow cache generation id
on policy (re)loads so that flow cache entries are
revalidated as needed.
Thanks to Herbet Xu for pointing this out. See:
http://marc.theaimsgroup.com/?l=linux-netdev&m=116841378704536&w=2
There's also a general issue as well as a solution proposed
by David Miller for when flow_cache_genid wraps. I might be
submitting a separate patch for that later.
I request that this be applied to 2.6.20 since it's
a security relevant fix.
Signed-off-by: Venkat Yekkirala <vyekkirala@TrustedCS.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions