diff options
| author | Reshetova, Elena <[email protected]> | 2017-07-04 12:52:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-07-04 21:35:15 +0000 |
| commit | f00c854c965fd7197c9ac0f59d823ca0a909e33b (patch) | |
| tree | 032868128119ee633825680a74ade30c1a029a36 /net/lapb/lapb_iface.c | |
| parent | net, l2tp: convert l2tp_tunnel.ref_count from atomic_t to refcount_t (diff) | |
| download | kernel-f00c854c965fd7197c9ac0f59d823ca0a909e33b.tar.gz kernel-f00c854c965fd7197c9ac0f59d823ca0a909e33b.zip | |
net, l2tp: convert l2tp_session.ref_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 <[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_iface.c')
0 files changed, 0 insertions, 0 deletions
