]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19402054b94d7cdb104af876a324282df3ba712e
tree62cbd6b18cf7a0b2c5aee37b3c4c26c0e62e466f
parente3a8d2a0dd4ce0f5b03dd482510cff9582ad7a08
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