linux-uconsole/net/rds
Mikulas Patocka fb1857c2e4 rds: add missing barrier to release_refill
commit 9f414eb409 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-08-25 11:37:49 +02:00
..
af_rds.c net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
bind.c
cong.c net: rds: delete duplicated words 2020-09-18 14:12:43 -07:00
connection.c rds: memory leak in __rds_conn_create() 2021-12-22 09:30:54 +01:00
ib.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib.h rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_cm.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_frmr.c net/rds: dma_map_sg is entitled to merge entries 2021-09-03 10:09:28 +02:00
ib_mr.h
ib_rdma.c
ib_recv.c rds: add missing barrier to release_refill 2022-08-25 11:37:49 +02:00
ib_ring.c
ib_send.c rds: stop using dmapool 2021-11-18 14:03:44 +01:00
ib_stats.c
ib_sysctl.c
info.c
info.h
Kconfig
loop.c
loop.h
Makefile
message.c net/rds: Fix a use after free in rds_message_map_pages 2021-04-14 08:42:09 +02:00
page.c
rdma.c net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS 2021-02-17 11:02:30 +01:00
rdma_transport.c
rdma_transport.h net: rds: rdma_transport.h: delete duplicated word 2020-07-19 18:14:51 -07:00
rds.h net: pass a sockptr_t into ->setsockopt 2020-07-24 15:41:54 -07:00
rds_single_path.h
recv.c net: rds: fix memory leak in rds_recvmsg 2021-06-23 14:42:42 +02:00
send.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
stats.c
sysctl.c
tcp.c net/rds: correct socket tunable error in rds_tcp_tune() 2021-12-08 09:03:26 +01:00
tcp.h RDS tcp loopback connection can hang 2021-06-16 12:01:36 +02:00
tcp_connect.c
tcp_listen.c RDS tcp loopback connection can hang 2021-06-16 12:01:36 +02:00
tcp_recv.c
tcp_send.c
tcp_stats.c
threads.c
transport.c rds: transport module should be auto loaded when transport is set 2020-06-25 16:26:25 -07:00