OpenCloudOS-Kernel/net
Andrew Sy Kim f2f46e7af4 ipvs: queue delayed work to expire no destination connections if expire_nodest_conn=1
[upstream commit 35dfb01314]

When expire_nodest_conn=1 and a destination is deleted, IPVS does not
expire the existing connections until the next matching incoming packet.
If there are many connection entries from a single client to a single
destination, many packets may get dropped before all the connections are
expired (more likely with lots of UDP traffic). An optimization can be
made where upon deletion of a destination, IPVS queues up delayed work
to immediately expire any connections with a deleted destination. This
ensures any reused source ports from a client (within the IPVS timeouts)
are scheduled to new real servers instead of silently dropped.

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2024-06-11 20:51:18 +08:00
..
6lowpan 6lowpan: no need to check return value of debugfs_create functions 2019-07-06 12:50:01 +02:00
9p xen/9p: use alloc/free_pages_exact() 2024-06-11 20:41:34 +08:00
802
8021q ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
appletalk ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
atm ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ax25 ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
batman-adv ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
bluetooth ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
bpf ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
bpfilter ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
bridge ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
caif net: use skb_queue_empty_lockless() in poll() handlers 2019-10-28 13:33:41 -07:00
can ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ceph ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
core ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dcb ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dccp ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
decnet tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
dns_resolver ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
dsa ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ethernet tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
hsr ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ieee802154 ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ife net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
ipv4 net: tcp: handle window shrink properly 2024-06-11 20:51:17 +08:00
ipv6 net/proc: added sockets details statistics 2024-06-11 20:41:14 +08:00
iucv ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
kcm kcm: disable preemption in kcm_parse_func_strparser() 2019-09-27 10:27:14 +02:00
key af_key: add __GFP_ZERO flag for compose_sadb_supported in function pfkey_register 2024-06-11 20:44:35 +08:00
l2tp ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
l3mdev
lapb ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
llc llc: fix netdevice reference leaks in llc_ui_bind() 2024-06-11 20:44:36 +08:00
mac80211 ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
mac802154 ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
mpls ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
ncsi ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
netfilter ipvs: queue delayed work to expire no destination connections if expire_nodest_conn=1 2024-06-11 20:51:18 +08:00
netlabel ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
netlink net/proc: added sockets details statistics 2024-06-11 20:41:14 +08:00
netrom ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
nfc NFC: netlink: fix sleep in atomic bug when firmware download timeout 2024-06-11 20:49:23 +08:00
nsh
openvswitch ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
packet ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
phonet phonet: refcount leak in pep_sock_accep 2024-06-11 20:44:37 +08:00
psample tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
qrtr ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
rds ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
rfkill ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
rose net: rose: fix UAF bugs caused by timer handler 2024-06-11 20:49:22 +08:00
rxrpc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
sched net: sched: fix use-after-free in tc_new_tfilter() 2024-06-11 20:44:35 +08:00
sctp sctp: use call_rcu to free endpoint 2024-06-11 20:44:37 +08:00
smc ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
strparser
sunrpc SUNRPC: Ensure we flush any closed sockets before xs_xprt_free() 2024-06-11 20:43:56 +08:00
switchdev ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
tipc tipc: improve size validations for received domain records 2024-06-11 20:44:35 +08:00
tls ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
toa ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
unix net/proc: added sockets details statistics 2024-06-11 20:41:14 +08:00
vmw_vsock ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
wimax wimax: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
wireless ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
x25 ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
xdp ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
xfrm xfrm: xfrm_policy: fix a possible double xfrm_pols_put() in xfrm_bundle_lookup() 2024-06-11 20:49:23 +08:00
Kconfig tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
Makefile tkernel: add base tlinux kernel interfaces 2024-06-11 20:09:33 +08:00
compat.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
socket.c ock: sync codes to ock 5.4.119-20.0009.21 2024-06-11 20:27:38 +08:00
sysctl_net.c