summaryrefslogtreecommitdiff
path: root/geoip.conf
blob: 43c6238bf158942454056996ded0f039148b612e (plain)
1
2
geolite.maxmind.com
cryptoism.org
nge='this.form.submit();'>space:mode:
authorDavidlohr Bueso <dave@stgolabs.net>2016-04-12 08:47:18 -0700
committerIngo Molnar <mingo@kernel.org>2016-04-13 08:52:23 +0200
commitc1c33b92db4fb274dfbff778ccf2459e4bebd48e (patch)
treef07d5e6d6ed6cb852499e8579401580df257dd22 /Documentation
parent1f190931893a98ffd5d4cfdfbfc2452ad0ed3e1b (diff)
locking/locktorture: Fix NULL pointer dereference for cleanup paths
It has been found that paths that invoke cleanups through lock_torture_cleanup() can trigger NULL pointer dereferencing bugs during the statistics printing phase. This is mainly because we should not be calling into statistics before we are sure things have been set up correctly. Specifically, early checks (and the need for handling this in the cleanup call) only include parameter checks and basic statistics allocation. Once we start write/read kthreads we then consider the test as started. As such, update the function in question to check for cxt.lwsa writer stats, if not set, we either have a bogus parameter or -ENOMEM situation and therefore only need to deal with general torture calls. Reported-and-tested-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Davidlohr Bueso <dbueso@suse.de> Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: bobby.prani@gmail.com Cc: dhowells@redhat.com Cc: dipankar@in.ibm.com Cc: dvhart@linux.intel.com Cc: edumazet@google.com Cc: fweisbec@gmail.com Cc: jiangshanlai@gmail.com Cc: josh@joshtriplett.org Cc: mathieu.desnoyers@efficios.com Cc: oleg@redhat.com Cc: rostedt@goodmis.org Link: http://lkml.kernel.org/r/1460476038-27060-2-git-send-email-paulmck@linux.vnet.ibm.com [ Improved the changelog. ] Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation')