mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 23:51:46 +00:00
ipvs: Use pointer to address from sync message
We want a pointer to it, not the value casted to a pointer. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Acked-by: Julius Volz <juliusv@google.com> Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
f2428ed5e7
commit
cd9fe6c4f0
@ -397,11 +397,11 @@ static void ip_vs_process_message(const char *buffer, const size_t buflen)
|
||||
flags &= ~IP_VS_CONN_F_INACTIVE;
|
||||
}
|
||||
cp = ip_vs_conn_new(AF_INET, s->protocol,
|
||||
(union nf_inet_addr *)s->caddr,
|
||||
(union nf_inet_addr *)&s->caddr,
|
||||
s->cport,
|
||||
(union nf_inet_addr *)s->vaddr,
|
||||
(union nf_inet_addr *)&s->vaddr,
|
||||
s->vport,
|
||||
(union nf_inet_addr *)s->daddr,
|
||||
(union nf_inet_addr *)&s->daddr,
|
||||
s->dport,
|
||||
flags, dest);
|
||||
if (dest)
|
||||
|
Loading…
Reference in New Issue
Block a user