summaryrefslogtreecommitdiff
path: root/Documentation/remoteproc.txt
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2020-01-04 14:15:02 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-12 11:22:51 +0100
commit7b39b6d38d09cff273bfb47d4f0043202300be18 (patch)
tree82a88b8e4b0ea706cd9ce4145929335eb5be6584 /Documentation/remoteproc.txt
parent65cae7ecbed74f43d540e0f87242c2fd26d3833a (diff)
sctp: free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY
[ Upstream commit be7a7729207797476b6666f046d765bdf9630407 ] This patch is to fix a memleak caused by no place to free cmd->obj.chunk for the unprocessed SCTP_CMD_REPLY. This issue occurs when failing to process a cmd while there're still SCTP_CMD_REPLY cmds on the cmd seq with an allocated chunk in cmd->obj.chunk. So fix it by freeing cmd->obj.chunk for each SCTP_CMD_REPLY cmd left on the cmd seq when any cmd returns error. While at it, also remove 'nomem' label. Reported-by: syzbot+107c4aff5f392bf1517f@syzkaller.appspotmail.com Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/remoteproc.txt')
0 files changed, 0 insertions, 0 deletions