Re: [PATCH] ipvs: Remove possibly unused net variable from ip_vs_out

2015-10-06 Thread Julian Anastasov
Hello, On Tue, 6 Oct 2015, Simon Horman wrote: > Since 6f2bcea9917d ("ipvs: Pass ipvs into ip_vs_in_icmp and > ip_vs_in_icmp_v6") the net variable in ip_vs_out() appears to be unused > unless CONFIG_IP_VS_IPV6 is set. To resolve this remove the net variable > and dereference net

[PATCH] ipvs: Remove possibly unused net variable from ip_vs_out

2015-10-06 Thread Simon Horman
Since 6f2bcea9917d ("ipvs: Pass ipvs into ip_vs_in_icmp and ip_vs_in_icmp_v6") the net variable in ip_vs_out() appears to be unused unless CONFIG_IP_VS_IPV6 is set. To resolve this remove the net variable and dereference net asneeded. Signed-off-by: Simon Horman ---

Re: [PATCH] ipvs: Remove possibly unused net variable from ip_vs_out

2015-10-06 Thread Simon Horman
On Tue, Oct 06, 2015 at 04:27:35PM -0700, Cong Wang wrote: > On Tue, Oct 6, 2015 at 11:24 AM, Julian Anastasov wrote: > > > > Hello, > > > > On Tue, 6 Oct 2015, Simon Horman wrote: > > > >> Since 6f2bcea9917d ("ipvs: Pass ipvs into ip_vs_in_icmp and > >> ip_vs_in_icmp_v6")

Re: [PATCH] ipvs: Remove possibly unused net variable from ip_vs_out

2015-10-06 Thread Cong Wang
On Tue, Oct 6, 2015 at 11:24 AM, Julian Anastasov wrote: > > Hello, > > On Tue, 6 Oct 2015, Simon Horman wrote: > >> Since 6f2bcea9917d ("ipvs: Pass ipvs into ip_vs_in_icmp and >> ip_vs_in_icmp_v6") the net variable in ip_vs_out() appears to be unused >> unless