Commit 7ae246a1 authored by Simon Horman's avatar Simon Horman

IPVS: Remove useless { } block from ip_vs_process_message()

Acked-by: default avatarHans Schillstrom <hans.schillstrom@ericsson.com>
Signed-off-by: default avatarSimon Horman <horms@verge.net.au>
parent d494262b
...@@ -381,20 +381,18 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen) ...@@ -381,20 +381,18 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen)
} }
} }
{ if (ip_vs_conn_fill_param_sync(AF_INET, s->protocol,
if (ip_vs_conn_fill_param_sync(AF_INET, s->protocol, (union nf_inet_addr *)&s->caddr,
(union nf_inet_addr *)&s->caddr, s->cport,
s->cport, (union nf_inet_addr *)&s->vaddr,
(union nf_inet_addr *)&s->vaddr, s->vport, &param)) {
s->vport, &param)) { pr_err("ip_vs_conn_fill_param_sync failed");
pr_err("ip_vs_conn_fill_param_sync failed"); return;
return;
}
if (!(flags & IP_VS_CONN_F_TEMPLATE))
cp = ip_vs_conn_in_get(&param);
else
cp = ip_vs_ct_in_get(&param);
} }
if (!(flags & IP_VS_CONN_F_TEMPLATE))
cp = ip_vs_conn_in_get(&param);
else
cp = ip_vs_ct_in_get(&param);
if (!cp) { if (!cp) {
/* /*
* Find the appropriate destination for the connection. * Find the appropriate destination for the connection.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment