linux_dsm_epyc7002/net/ipv4/ipvs
Sven Wegener 8ab19ea36c ipvs: Fix possible deadlock in estimator code
There is a slight chance for a deadlock in the estimator code. We can't call
del_timer_sync() while holding our lock, as the timer might be active and
spinning for the lock on another cpu. Work around this issue by using
try_to_del_timer_sync() and releasing the lock. We could actually delete the
timer outside of our lock, as the add and kill functions are only every called
from userspace via [gs]etsockopt() and are serialized by a mutex, but better
make this explicit.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Cc: stable <stable@kernel.org>
Acked-by: Simon Horman <horms@verge.net.au>
2008-08-11 11:45:40 +02:00
..
ip_vs_app.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_conn.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_core.c ipvs: More reliable synchronization on connection close 2008-07-16 20:04:23 -07:00
ip_vs_ctl.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_dh.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_est.c ipvs: Fix possible deadlock in estimator code 2008-08-11 11:45:40 +02:00
ip_vs_ftp.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_lblc.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_lblcr.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_lc.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_nq.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_proto_ah.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_proto_esp.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_proto_tcp.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_proto_udp.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_proto.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_rr.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_sched.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_sed.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_sh.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_sync.c ipvs: Fix possible deadlock in sync code 2008-08-11 11:44:38 +02:00
ip_vs_wlc.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_wrr.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
ip_vs_xmit.c net: remove CVS keywords 2008-06-11 21:00:38 -07:00
Kconfig [IPVS]: Use menuconfig objects. 2007-05-24 16:36:47 -07:00
Makefile [IPVS]: remove net/ipv4/ipvs/ip_vs_proto_icmp.c 2005-06-02 13:02:25 -07:00