commit | 6d5afe20397b478192ed8c38ec0ee10fa3aec649 | [log] [tgz] |
---|---|---|
author | zhengbin <zhengbin13@huawei.com> | Tue Aug 13 22:05:50 2019 +0800 |
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Aug 13 20:45:01 2019 -0700 |
tree | f6a5230b5b9e1db18a87a04dff665fcc961a5e53 | |
parent | d00ee64e1dcf09b3afefd1340f3e9eb637272714 [diff] |
sctp: fix memleak in sctp_send_reset_streams If the stream outq is not empty, need to kfree nstr_list. Fixes: d570a59c5b5f ("sctp: only allow the out stream reset when the stream outq is empty") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: zhengbin <zhengbin13@huawei.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>