| Message ID | 20260929113436.44306-1-ja@ssi.bg |
|---|---|
| Headers | show |
| Series | ipvs: read conn fields during sync atomically | expand |
Hello, On Tue, 29 Sep 2026, Julian Anastasov wrote: > The following patches make sure the connection > fields such as flags, sync_conn_opt (seqs), state, old_state > and timeout are updated atomically in the backup server > and the first two also in the master server to avoid > buffer overflow. > > v1->v2: > * add patch 1 > * patch 2: read seqs with flags under lock > > Julian Anastasov (2): > ipvs: update flags and seqs in backup server under lock > ipvs: fix buffer overflow when sending sync messages After v1 of patch 2 is applied, we should create a followup patch (v3), so this v2 should be dropped. pw-bot: changes-requested > net/netfilter/ipvs/ip_vs_sync.c | 55 ++++++++++++++++++++++++--------- > 1 file changed, 40 insertions(+), 15 deletions(-) > > -- > 2.55.0 Regards -- Julian Anastasov <ja@ssi.bg>
Hello, The following patches make sure the connection fields such as flags, sync_conn_opt (seqs), state, old_state and timeout are updated atomically in the backup server and the first two also in the master server to avoid buffer overflow. v1->v2: * add patch 1 * patch 2: read seqs with flags under lock Julian Anastasov (2): ipvs: update flags and seqs in backup server under lock ipvs: fix buffer overflow when sending sync messages net/netfilter/ipvs/ip_vs_sync.c | 55 ++++++++++++++++++++++++--------- 1 file changed, 40 insertions(+), 15 deletions(-)