diff options
author | Reshetova, Elena <[email protected]> | 2017-07-04 09:34:54 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-07-04 01:29:03 -0700 |
commit | 0aeea21ada517b99a6e95298ffc105381bcd3a52 (patch) | |
tree | 5a09b35a770e6893d3f146053463a64ddce6488b /net/lapb/lapb_subr.c | |
parent | 25f4535a94c2b38d09912d7e8bab371c9e97be38 (diff) |
net, ipv6: convert ipv6_txoptions.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