ipvs: read conn fields during sync atomically
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesNew
- v22 patches 1 replySuperseded
Changes in v3 from the cover letter
* as v1 of patch 2 is applied, make v3 relative to the applied commit and rename it
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipvs: update flags and seqs in backup server under locknet/ | +6 | 0 replies | |
| 2/2 | ipvs: read flags and seqs in master atomicallynet/ | +20 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH nf v3 0/2] ipvs: read conn fields during sync atomically
Hello,
The following are two patches that ensure atomic access
for the connection fields in the backup and master servers.
The first patch makes sure the connection fields such as
flags, sync_conn_opt (seqs), state, old_state and timeout are updated atomically in the backup server.
As for the master server, the second patch takes snapshot
of the flags and seqs under lock before sending. This is to ensure we send valid seqs if their presence is marked in the flags we send.
Changes in v2:
* add patch 1
* patch 2: read seqs with flags under lock
Changes in v3:
* as v1 of patch 2 is applied, make v3 relative to the applied commit and rename it
Link to v1:
https://lore.kernel.org/all/[email protected]/
Link to v2:
https://lore.kernel.org/all/[email protected]/
Julian Anastasov (2):
ipvs: update flags and seqs in backup server under lock
ipvs: read flags and seqs in master atomically
net/netfilter/ipvs/ip_vs_sync.c | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-)
Signature · 1 line
2.56.0