Messages in this thread | | | Date | Wed, 21 Jul 2021 17:36:20 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] kernfs: Convert from atomic_t to refcount_t on kernfs_node->count |
| |
On Mon, Jul 19, 2021 at 04:33:21PM +0800, Xiyu Yang wrote: > refcount_t type and corresponding API can protect refcounters from > accidental underflow and overflow and further use-after-free situations.
But this really is a count, not a refcount.
So are you _sure_ this should be changed?
What did you to do to test this?
thanks,
greg k-h
| |