sctp: introduce sctp_assoc_update_frag_point
and avoid the open-coded versions of it. Now sctp_datamsg_from_user can just re-use asoc->frag_point as it will always be updated. Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
feddd6c1af
commit
2f5e3c9df6
@@ -2097,6 +2097,7 @@ int sctp_assoc_update(struct sctp_association *old,
|
||||
|
||||
__u32 sctp_association_get_next_tsn(struct sctp_association *);
|
||||
|
||||
void sctp_assoc_update_frag_point(struct sctp_association *asoc);
|
||||
void sctp_assoc_set_pmtu(struct sctp_association *asoc, __u32 pmtu);
|
||||
void sctp_assoc_sync_pmtu(struct sctp_association *asoc);
|
||||
void sctp_assoc_rwnd_increase(struct sctp_association *, unsigned int);
|
||||
|
Reference in New Issue
Block a user