Hi Elena, > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free > situations. > > Signed-off-by: Elena Reshetova <elena.reshet...@intel.com> > Signed-off-by: Hans Liljestrand <ishkam...@gmail.com> > Signed-off-by: Kees Cook <keesc...@chromium.org> > Signed-off-by: David Windsor <dwind...@gmail.com> > --- > include/net/bluetooth/rfcomm.h | 8 +++++--- > net/bluetooth/rfcomm/core.c | 4 ++-- > 2 files changed, 7 insertions(+), 5 deletions(-)
patch has been applied to bluetooth-next tree. Regards Marcel