Re: [PATCH net] net: free ip_vs_dest structs when refcnt=0

2017-01-24 Thread David Miller
From: Julian Anastasov Date: Tue, 24 Jan 2017 23:14:29 +0200 (EET) > The changes look ok to me but as this is a net-next > material I also prefer some comments in the code to be updated: It also needs to be posted to netfilter-devel with the IPVS maintainer CC:'d

Re: [PATCH net] net: free ip_vs_dest structs when refcnt=0

2017-01-24 Thread Julian Anastasov
Hello, On Tue, 24 Jan 2017, David Windsor wrote: > Currently, the ip_vs_dest cache frees ip_vs_dest objects when their reference > count becomes < 0. Aside from not being semantically sound, this is > problematic > for the new type refcount_t, which will be introduced shortly in a

[PATCH net] net: free ip_vs_dest structs when refcnt=0

2017-01-24 Thread David Windsor
Currently, the ip_vs_dest cache frees ip_vs_dest objects when their reference count becomes < 0. Aside from not being semantically sound, this is problematic for the new type refcount_t, which will be introduced shortly in a separate patch. refcount_t is the new kernel type for holding reference