Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1700534 > unrolled thread

Re: [PATCH] hysdn: fix to a race condition in put_log_buffer

Started byDavid Miller <davem@davemloft.net>
First post2017-08-01 02:30 +0200
Last post2017-08-01 02:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] hysdn: fix to a race condition in put_log_buffer David Miller <davem@davemloft.net> - 2017-08-01 02:30 +0200

#1700534 — Re: [PATCH] hysdn: fix to a race condition in put_log_buffer

FromDavid Miller <davem@davemloft.net>
Date2017-08-01 02:30 +0200
SubjectRe: [PATCH] hysdn: fix to a race condition in put_log_buffer
Message-ID<u9tep-4CU-11@gated-at.bofh.it>
From: Anton Volkov <avolkov@ispras.ru>
Date: Fri, 28 Jul 2017 17:53:51 +0300

> The synchronization type that was used earlier to guard the loop that
> deletes unused log buffers may have lead to a situation that prevents
> any thread from going through the loop.
> 
> The patch deletes previously used synchronization mechanism and moves
> the loop under the spin_lock so the similar cases won't be feasible in
> the future.
> 
> Found by by Linux Driver Verification project (linuxtesting.org).
> 
> Signed-off-by: Anton Volkov <avolkov@ispras.ru>

This patch doesn't apply at all.

It's probably been corrupted by your email client.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web