diff options
author | Elena Reshetova <elena.reshetova@intel.com> | 2017-03-06 16:21:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-17 13:32:59 +0900 |
commit | 8d66db50b2ac9dbf5cca9ede64f1c859d7b86eb6 (patch) | |
tree | c96d57baa39dbc208feca0b5e65f87515ba60bc0 /MAINTAINERS | |
parent | b7ddc981d7b9e2fbfb33cb7cc47603d6e5d93bc9 (diff) | |
download | blackbird-op-linux-8d66db50b2ac9dbf5cca9ede64f1c859d7b86eb6.tar.gz blackbird-op-linux-8d66db50b2ac9dbf5cca9ede64f1c859d7b86eb6.zip |
drivers, usb: convert ep_data.count from atomic_t to refcount_t
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.reshetova@intel.com>
Signed-off-by: Hans Liljestrand <ishkamiel@gmail.com>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David Windsor <dwindsor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions