Unverified Commit d057c108 authored by Christian Brauner's avatar Christian Brauner
Browse files

nsproxy: add a cleanup helper for nsproxy

parent c6269149
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -112,4 +112,6 @@ static inline void get_nsproxy(struct nsproxy *ns)
	refcount_inc(&ns->count);
}

DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))

#endif