Marc Dionne bfacaf71a1
afs: Fix ignored callbacks over ipv4
When searching for a matching peer, all addresses need to be searched,
not just the ipv6 ones in the fs_addresses6 list.

Given that the lists no longer contain addresses, there is little
reason to splitting things between separate lists, so unify them
into a single list.

When processing an incoming callback from an ipv4 address, this would
lead to a failure to set call->server, resulting in the callback being
ignored and the client seeing stale contents.

Fixes: 72904d7b9bfb ("rxrpc, afs: Allow afs to pin rxrpc_peer objects")
Reported-by: Markus Suvanto <markus.suvanto@gmail.com>
Link: https://lists.infradead.org/pipermail/linux-afs/2024-February/008035.html
Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://lists.infradead.org/pipermail/linux-afs/2024-February/008037.html # v1
Link: https://lists.infradead.org/pipermail/linux-afs/2024-February/008066.html # v2
Link: https://lore.kernel.org/r/20240219143906.138346-2-dhowells@redhat.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-02-20 09:51:21 +01:00
..
2023-12-24 15:22:53 +00:00
2024-01-19 09:10:23 -08:00
2023-01-11 06:52:43 -05:00
2024-01-01 16:37:27 +00:00
2024-01-01 16:37:27 +00:00
2024-01-19 09:10:23 -08:00
2024-02-20 09:51:21 +01:00
2023-12-24 15:22:53 +00:00
2022-06-29 08:51:06 -04:00
2024-01-01 16:37:27 +00:00
2024-02-20 09:51:21 +01:00
2024-01-19 09:10:23 -08:00
2024-01-01 16:37:27 +00:00
2024-01-19 09:10:23 -08:00