diff options
author | Paul Moore <pmoore@redhat.com> | 2013-05-29 07:36:25 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-31 17:30:07 -0700 |
commit | e4c1721642bbd42d8142f4811cde0588c28db51d (patch) | |
tree | 8f7750f6065dcb5d2bd727174fb9f4e3cd8fccf3 /security/selinux | |
parent | 1e2bd517c108816220f262d7954b697af03b5f9c (diff) | |
download | op-kernel-dev-e4c1721642bbd42d8142f4811cde0588c28db51d.zip op-kernel-dev-e4c1721642bbd42d8142f4811cde0588c28db51d.tar.gz |
xfrm: force a garbage collection after deleting a policy
In some cases after deleting a policy from the SPD the policy would
remain in the dst/flow/route cache for an extended period of time
which caused problems for SELinux as its dynamic network access
controls key off of the number of XFRM policy and state entries.
This patch corrects this problem by forcing a XFRM garbage collection
whenever a policy is sucessfully removed.
Reported-by: Ondrej Moris <omoris@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions