ipvs: optimize the use of flags in ip_vs_bind_dest
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2012 07:28:19 +0000 (09:28 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2012 17:40:49 +0000 (19:40 +0200)
commit6b324dbfc3dc13f0a7e236d3529c31d6bc4edbfe
tree4432b7ddd2b70666b4a91195f888b2e27f73f822
parentf73181c8288fc38747ec4f0f3e8a9052ab785cd5
ipvs: optimize the use of flags in ip_vs_bind_dest

cp->flags is marked volatile but ip_vs_bind_dest
can safely modify the flags, so save some CPU cycles by
using temp variable.

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