diff options
author | Alex Gartrell | 2014-09-10 01:40:23 +0200 |
---|---|---|
committer | Simon Horman | 2014-09-16 02:03:34 +0200 |
commit | ba38528aae6ee2d22226c6a78727ddc13512b068 (patch) | |
tree | 224bda662d2fc090d37276359026406663dd7dbe /net/netfilter/ipvs/ip_vs_ctl.c | |
parent | ipvs: Pass destination address family to ip_vs_trash_get_dest (diff) | |
download | kernel-qcow2-linux-ba38528aae6ee2d22226c6a78727ddc13512b068.tar.gz kernel-qcow2-linux-ba38528aae6ee2d22226c6a78727ddc13512b068.tar.xz kernel-qcow2-linux-ba38528aae6ee2d22226c6a78727ddc13512b068.zip |
ipvs: Supply destination address family to ip_vs_conn_new
The assumption that dest af is equal to service af is now unreliable, so we
must specify it manually so as not to copy just the first 4 bytes of a v6
address or doing an illegal read of 16 butes on a v6 address.
We "lie" in two places: for synchronization (which we will explicitly
disallow from happening when we have heterogeneous pools) and for black
hole addresses where there's no real dest.
Signed-off-by: Alex Gartrell <agartrell@fb.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/ipvs/ip_vs_ctl.c')
0 files changed, 0 insertions, 0 deletions