diff options
author | 2014-01-30 08:50:20 +0100 | |
---|---|---|
committer | 2014-02-04 21:13:47 +0900 | |
commit | 2a971354e74f3837d14b9c8d7f7983b0c9c330e4 (patch) | |
tree | faf9c92d7d340b80fdd4ddb1ada5973368514404 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | net: Document promote_secondaries (diff) | |
download | wireguard-linux-2a971354e74f3837d14b9c8d7f7983b0c9c330e4.tar.xz wireguard-linux-2a971354e74f3837d14b9c8d7f7983b0c9c330e4.zip |
ipvs: fix AF assignment in ip_vs_conn_new()
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>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions