summaryrefslogtreecommitdiff
path: root/include/net/codel_qdisc.h
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2016-12-13 10:03:01 -0500
committerPaul Moore <paul@paul-moore.com>2016-12-14 13:06:04 -0500
commit533c7b69c764ad5febb3e716899f43a75564fcab (patch)
treee66c8e368e3450f872cb5bb6f28a4deaac1a4985 /include/net/codel_qdisc.h
parentfba143c66abb81307a450679f38ab953fe96a413 (diff)
audit: use proper refcount locking on audit_sock
Resetting audit_sock appears to be racy. audit_sock was being copied and dereferenced without using a refcount on the source sock. Bump the refcount on the underlying sock when we store a refrence in audit_sock and release it when we reset audit_sock. audit_sock modification needs the audit_cmd_mutex. See: https://lkml.org/lkml/2016/11/26/232 Thanks to Eric Dumazet <edumazet@google.com> and Cong Wang <xiyou.wangcong@gmail.com> on ideas how to fix it. Signed-off-by: Richard Guy Briggs <rgb@redhat.com> Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com> [PM: fixed the comment block text formatting for auditd_reset()] Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'include/net/codel_qdisc.h')
0 files changed, 0 insertions, 0 deletions
proper way to unbreak LTTNG, which iscurrently non functional due to the removal of the notifiers. Surely it's out of tree, but it's widely used by distros. The simple solution would have been to reserve a state for LTTNG, but I'm not fond about unused crap in the kernel and the dynamic range, which we admittedly should have done right away, allows us to remove quite some of the hardcoded states, i.e. those which have no ordering requirements. So doing the right thing now is better than having an smaller intermediate solution which needs to be reworked anyway" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Provide dynamic range for prepare stage perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug
Diffstat (limited to 'tools/scripts/utilities.mak')