diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2014-01-30 07:50:20 (GMT) |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-04-03 08:32:21 (GMT) |
commit | 9573757c7e68349864ea6767c85c963185c1f37e (patch) | |
tree | 1763a3fdcb527dc1b3167eed0690951f01fdd2ed /scripts | |
parent | c8a3d3bcd7dc2893790c38695a8ecd79c4fbad99 (diff) | |
download | linux-fsl-qoriq-9573757c7e68349864ea6767c85c963185c1f37e.tar.xz |
ipvs: fix AF assignment in ip_vs_conn_new()
commit 2a971354e74f3837d14b9c8d7f7983b0c9c330e4 upstream.
If a fwmark is passed to ip_vs_conn_new(), it is passed in
vaddr, not daddr. Therefore we should set AF to AF_UNSPEC in
vaddr assignment (like we do in ip_vs_ct_in_get()), otherwise we
may copy only first 4 bytes of an IPv6 address into cp->daddr.
Signed-off-by: Bogdano Arendartchuk <barendartchuk@suse.com>
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions