lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 14 May 2015 17:41:36 -0400 (EDT)
From:	David Miller <davem@...emloft.net>
To:	willemb@...gle.com
Cc:	netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next v2] packet: fix warnings in rollover lock
 contention

From: Willem de Bruijn <willemb@...gle.com>
Date: Thu, 14 May 2015 15:25:02 -0400

> From: Willem de Bruijn <willemb@...gle.com>
> 
> Avoid two xchg calls whose return values were unused, causing a
> warning on some architectures.
> 
> The relevant variable is a hint and read without mutual exclusion.
> This fix makes all writers hold the receive_queue lock.
> 
> Suggested-by: David S. Miller <davem@...emloft.net>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>

Looks great, thanks for dealing with the locking problem.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ