summaryrefslogtreecommitdiff
path: root/drivers/tty/n_gsm.c
diff options
context:
space:
mode:
authorElena Reshetova <elena.reshetova@intel.com>2017-03-03 11:55:17 +0300
committerDavid Sterba <dsterba@suse.com>2017-04-18 15:07:23 +0300
commit089e77e10d7e44a007101cf7323dc7bda66172f4 (patch)
tree62bdc5bd9de9681adbba7a9f915bae4b39d67547 /drivers/tty/n_gsm.c
parent6de5f18e7b0da0cdd265eda047a0bc4f48260bcb (diff)
downloadlinux-089e77e10d7e44a007101cf7323dc7bda66172f4.tar.xz
btrfs: convert btrfs_delayed_item.refs 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: David Sterba <dsterba@suse.com>
Diffstat (limited to 'drivers/tty/n_gsm.c')
0 files changed, 0 insertions, 0 deletions