diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-11-25 16:18:36 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-01 23:06:24 +0300 |
commit | 779edd7348878a7376c0e3d0f96485c30b5f1b7d (patch) | |
tree | 9b1c645495f76394384e82ea30edb6ed29a55937 /net/dccp/minisocks.c | |
parent | e5f612969c6f965e3bd1158598e0a3b1c4f389b9 (diff) | |
download | linux-779edd7348878a7376c0e3d0f96485c30b5f1b7d.tar.xz |
sctp: do not abandon the other frags in unsent outq if one msg has outstanding frags
Now for the abandoned chunks in unsent outq, it would just free the chunks.
Because no tsn is assigned to them yet, there's no need to send fwd tsn to
peer, unlike for the abandoned chunks in sent outq.
The problem is when parts of the msg have been sent and the other frags
are still in unsent outq, if they are abandoned/dropped, the peer would
never get this msg reassembled.
So these frags in unsent outq can't be dropped if this msg already has
outstanding frags.
This patch does the check in sctp_chunk_abandoned and
sctp_prsctp_prune_unsent.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/minisocks.c')
0 files changed, 0 insertions, 0 deletions