aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/config.py
diff options
context:
space:
mode:
authorXin Long <[email protected]>2019-06-25 00:21:45 +0800
committerDavid S. Miller <[email protected]>2019-06-26 19:29:23 -0700
commit25bff6d5478b2a02368097015b7d8eb727c87e16 (patch)
tree75263bded0f1416c8958a00d201ded2370872e40 /scripts/gdb/linux/config.py
parent13696531dc90d2bd54d143aabcb766d228240e06 (diff)
sctp: change to hold sk after auth shkey is created successfully
Now in sctp_endpoint_init(), it holds the sk then creates auth shkey. But when the creation fails, it doesn't release the sk, which causes a sk defcnf leak, Here to fix it by only holding the sk when auth shkey is created successfully. Fixes: a29a5bd4f5c3 ("[SCTP]: Implement SCTP-AUTH initializations.") Reported-by: [email protected] Reported-by: [email protected] Signed-off-by: Xin Long <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions