diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-08-13 22:05:50 +0800 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-08-13 20:45:01 -0700 |
commit | 6d5afe20397b478192ed8c38ec0ee10fa3aec649 (patch) | |
tree | f6a5230b5b9e1db18a87a04dff665fcc961a5e53 /drivers/net/ethernet/chelsio/cxgb4 | |
parent | netlink: Fix nlmsg_parse as a wrapper for strict message parsing (diff) | |
download | linux-dev-6d5afe20397b478192ed8c38ec0ee10fa3aec649.tar.xz linux-dev-6d5afe20397b478192ed8c38ec0ee10fa3aec649.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4')
0 files changed, 0 insertions, 0 deletions