summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2020-10-10 13:30:49 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2020-10-10 13:30:49 +0200
commit566575659eec6b0a72de46dd1c3ae8fc221a90a5 (patch)
treefed807b5725b3592752bb19005c9eea9dbcd387d /security
parentf1442a59da02a0b5ef648925f2f274a3e64999cc (diff)
parent18f617d6f398c264e3172532a5d3c656f17cecfa (diff)
Merge tag 'v4.4.238' into toradex_vf_4.4-next
This is the 4.4.238 stable release Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'security')
-rw-r--r--security/selinux/selinuxfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index c02da25d7b63..7778e28cce9d 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -1370,6 +1370,7 @@ static struct avc_cache_stats *sel_avc_get_stat_idx(loff_t *idx)
*idx = cpu + 1;
return &per_cpu(avc_cache_stats, cpu);
}
+ (*idx)++;
return NULL;
}