aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorReshetova, Elena <[email protected]>2017-07-04 09:35:00 +0300
committerDavid S. Miller <[email protected]>2017-07-04 01:29:04 -0700
commit87078f26b6644c2ad8226cf29a7e3a6ef6c74ae2 (patch)
tree77a80a2e7ecc574c88c7e44371a03962e4d94f59 /net/lapb/lapb_subr.c
parentd12f3827e04b58f617c43f4d44ad3ad788d852b7 (diff)
net, ipv6: convert ip6addrlbl_entry.refcnt 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 <[email protected]> Signed-off-by: Hans Liljestrand <[email protected]> Signed-off-by: Kees Cook <[email protected]> Signed-off-by: David Windsor <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions