aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorReshetova, Elena <[email protected]>2017-07-04 12:52:57 +0000
committerDavid S. Miller <[email protected]>2017-07-04 21:35:15 +0000
commitfbea9e0760bf17e681b9bfc25b97b408708b9ff2 (patch)
treea4c8c287dfb2452e1ea5c94e089350cf93b948e6 /net/lapb/lapb_iface.c
parentnet, llc: convert llc_sap.refcnt from atomic_t to refcount_t (diff)
downloadkernel-fbea9e0760bf17e681b9bfc25b97b408708b9ff2.tar.gz
kernel-fbea9e0760bf17e681b9bfc25b97b408708b9ff2.zip
net, l2tp: convert l2tp_tunnel.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