diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-04-15 21:56:57 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-17 15:25:35 -0400 |
commit | edb12f2d72d735acfb3aa53bbda64b1827042209 (patch) | |
tree | 53b3f6d2889a3b01fd1c20f428dd7bcd6926482b /Documentation/serial | |
parent | 9fd0f315631f3d3677cbd44966749cb63e55058a (diff) |
sctp: get list_of_streams of strreset outreq earlier
Now when processing strreset out responses, it gets outreq->list_of_streams
only when result is performed. But if result is not performed, str_p will
be NULL. It will cause panic in sctp_ulpevent_make_stream_reset_event if
nums is not 0.
This patch is to fix it by getting outreq->list_of_streams earlier, and
also to improve some codes for the strreset inreq process.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/serial')
0 files changed, 0 insertions, 0 deletions