sctp: add support for the process of unordered idata
Unordered idata process is more complicated than unordered data: - It has to add mid into sctp_stream_out to save the next mid value, which is separated from ordered idata's. - To support pd for unordered idata, another mid and pd_mode need to be added to save the message id and pd state in sctp_stream_in. - To make unordered idata reasm easier, it adds a new event queue to save frags for idata. The patch mostly adds the samilar reasm functions for unordered idata as ordered idata's, and also adjusts some other codes on assign_mid, abort_pd and ulpevent_data for idata. Signed-off-by: Xin Long <lucien.xin@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
65f5e35783
commit
132282386f
@@ -45,6 +45,7 @@ struct sctp_ulpq {
|
||||
char pd_mode;
|
||||
struct sctp_association *asoc;
|
||||
struct sk_buff_head reasm;
|
||||
struct sk_buff_head reasm_uo;
|
||||
struct sk_buff_head lobby;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user