ipvs: Pass ipvs not net to ip_vs_conn_hashkey
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 21 Sep 2015 18:02:40 +0000 (13:02 -0500)
committerSimon Horman <horms@verge.net.au>
Thu, 24 Sep 2015 00:34:41 +0000 (09:34 +0900)
commit754b81a35710e02ffada4d80095318a3e57acd48
treeca1c8ddbbeeeeb3de369a1fb324a92288d0d20ac
parent0cf705c8c2e8333aff5b472cfff13f9542620500
ipvs: Pass ipvs not net to ip_vs_conn_hashkey

Use the address of struct netns_ipvs in the hash not the address of
struct net.  Both addresses are equally valid candidates and by using
the address of struct netns_ipvs there becomes no need deal with
struct net in this part of the code.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Simon Horman <horms@verge.net.au>
net/netfilter/ipvs/ip_vs_conn.c