ipvs: fix ip_vs_try_bind_dest to rebind app and transmitter
authorJulian Anastasov <ja@ssi.bg>
Tue, 24 Apr 2012 20:46:37 +0000 (23:46 +0300)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2012 17:38:28 +0000 (19:38 +0200)
commit882a844bd5b3ffa35e059f21ee920cc113985a89
tree62cbd6b18cf7a0b2c5aee37b3c4c26c0e62e466f
parent06611f82cc0d8b957d6399f11f2799683ad002c3
ipvs: fix ip_vs_try_bind_dest to rebind app and transmitter

Initially, when the synced connection is created we
use the forwarding method provided by master but once we
bind to destination it can be changed. As result, we must
update the application and the transmitter.

As ip_vs_try_bind_dest is called always for connections
that require dest binding, there is no need to validate the
cp and dest pointers.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c