Xin Long 01aadb3af6 sctp: implement prsctp RTX policy
prsctp RTX policy is a policy to abandon chunks when they are
retransmitted beyond the max count.

This patch uses sent_count to count how many times one chunk has
been sent, and prsctp_param is the max rtx count, which is from
sinfo->sinfo_timetolive in sctp_set_prsctp_policy(). So similar
to TTL policy, if RTX policy is enabled, msg->expire_at won't
work.

Then in sctp_chunk_abandoned, this patch checks if chunk->sent_count
is bigger than chunk->prsctp_param to abandon this chunk.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-11 13:25:39 -07:00
..
2016-01-27 20:36:15 +08:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2016-06-03 19:37:21 -04:00
2016-06-03 19:37:21 -04:00
2016-04-27 22:48:24 -04:00
2016-04-15 17:29:36 -04:00
2016-06-03 19:37:21 -04:00
2016-06-03 19:37:21 -04:00
2016-07-11 13:25:39 -07:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:37:56 -05:00