Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ae9b0162 authored by Paul Moore's avatar Paul Moore Committed by Ravi Kumar Siddojigari
Browse files

selinux: reduce the number of calls to synchronize_net() when flushing caches



commit 615e51fdda6f274e94b1e905fcaf6111e0d9aa20 upstream.

When flushing the AVC, such as during a policy load, the various
network caches are also flushed, with each making a call to
synchronize_net() which has shown to be expensive in some cases.
This patch consolidates the network cache flushes into a single AVC
callback which only calls synchronize_net() once for each AVC cache
flush.

Change-Id: I2a7f020748d1adf2b68246f6ef86d0c871adffb7
Reported-by: default avatarJaejyn Shin <flagon22bass@gmail.com>
Signed-off-by: default avatarPaul Moore <pmoore@redhat.com>
Git-commit: 5b5b6febcab05ef9e8972ead4cc3cf8381d45a95
Signed-off-by: default avatarRavi Kumar S <rsiddoji@codeaurora.org>
parent a01741b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment