]> err.no Git - linux-2.6/commit
ipvs: Fix possible deadlock in sync code
authorSven Wegener <sven.wegener@stealer.net>
Sun, 10 Aug 2008 09:14:05 +0000 (09:14 +0000)
committerSven Wegener <sven.wegener@stealer.net>
Mon, 11 Aug 2008 09:44:38 +0000 (11:44 +0200)
commitbc0fde2fad007a81ecffceb25a893a6c3f1ed767
tree961823abcc7cabcfde900fdc58d8a19178c0c5a7
parent8123b421e8ed944671d7241323ed3198cccb4041
ipvs: Fix possible deadlock in sync code

Commit 998e7a76804b7a273a0460c2cdd5a51fa9856717 ("ipvs: Use kthread_run()
instead of doing a double-fork via kernel_thread()") introduced a possible
deadlock in the sync code. We need to use the _bh versions for the lock, as the
lock is also accessed from a bottom half.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Acked-by: Simon Horman <horms@verge.net.au>
net/ipv4/ipvs/ip_vs_sync.c