ipvs: Pass ipvs into .conn_schedule and ip_vs_try_to_schedule
This moves the hack "net_ipvs(skb_net(skb))" up one level where it will be easier to remove. 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>
This commit is contained in:
committed by
Simon Horman
parent
2f3edc6a5b
commit
d8f44c335a
+2
-1
@@ -487,7 +487,8 @@ struct ip_vs_protocol {
|
||||
|
||||
void (*exit_netns)(struct netns_ipvs *ipvs, struct ip_vs_proto_data *pd);
|
||||
|
||||
int (*conn_schedule)(int af, struct sk_buff *skb,
|
||||
int (*conn_schedule)(struct netns_ipvs *ipvs,
|
||||
int af, struct sk_buff *skb,
|
||||
struct ip_vs_proto_data *pd,
|
||||
int *verdict, struct ip_vs_conn **cpp,
|
||||
struct ip_vs_iphdr *iph);
|
||||
|
||||
Reference in New Issue
Block a user