diff options
author | Xin Long <[email protected]> | 2018-05-02 13:37:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-05-02 11:15:32 -0400 |
commit | 4842a08fb80bc09b7b089af42c58353dfaa8f88f (patch) | |
tree | 914bfac5c6729987cfac62a071269eb139c221e5 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e6e6a278b1eaffa19d42186bfacd1ffc15a50b3f (diff) |
sctp: init active key for the new asoc in dupcook_a and dupcook_b
When processing a duplicate cookie-echo chunk, for case 'A' and 'B',
after sctp_process_init for the new asoc, if auth is enabled for the
cookie-ack chunk, the active key should also be initialized.
Otherwise, the cookie-ack chunk made later can not be set with auth
shkey properly, and a crash can even be caused by this, as after
Commit 1b1e0bc99474 ("sctp: add refcnt support for sh_key"), sctp
needs to hold the shkey when making control chunks.
Fixes: 1b1e0bc99474 ("sctp: add refcnt support for sh_key")
Reported-by: Jianwen Ji <[email protected]>
Signed-off-by: Xin Long <[email protected]>
Acked-by: Neil Horman <[email protected]>
Acked-by: Marcelo Ricardo Leitner <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions