Mikulas Patocka 9f414eb409 rds: add missing barrier to release_refill
The functions clear_bit and set_bit do not imply a memory barrier, thus it
may be possible that the waitqueue_active function (which does not take
any locks) is moved before clear_bit and it could miss a wakeup event.

Fix this bug by adding a memory barrier after clear_bit.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-08-12 10:46:01 +01:00
..
2020-09-18 14:12:43 -07:00
2021-05-31 22:45:05 -07:00
2020-11-17 15:22:06 -04:00
2020-05-20 14:08:06 -07:00
2016-12-26 21:35:39 -05:00
2020-07-24 15:41:54 -07:00
2021-11-22 14:28:37 +00:00
2016-06-18 21:34:09 -07:00
2021-05-31 22:45:05 -07:00
2020-05-28 11:11:45 -07:00
2011-07-01 16:16:19 -07:00