ipvs: prefer NETDEV_DOWN event to free cached dsts
authorJulian Anastasov <ja@ssi.bg>
Thu, 21 Mar 2013 09:58:00 +0000 (11:58 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 1 Apr 2013 22:23:38 +0000 (00:23 +0200)
commit313eae637f0ce2a37fc1e591f5ac930ec7301b8f
treeb4025dc492938facda35add42b3eacb07bbf3d2c
parentc90558dae51cef334f3d9d447cf7c0fd1bfe725d
ipvs: prefer NETDEV_DOWN event to free cached dsts

The real server becomes unreachable on down event,
no need to wait device unregistration. Should help in
releasing dsts early before dst->dev is replaced with lo.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_ctl.c