mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
sctp: Adjust PMTU updates to accomodate route invalidation.
This adjusts the call to dst_ops->update_pmtu() so that we can transparently handle the fact that, in the future, the dst itself can be invalidated by the PMTU update (when we have non-host routes cached in sockets). Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
35ad9b9cf7
commit
02f3d4ce9e
7 changed files with 22 additions and 14 deletions
|
|
@ -519,10 +519,10 @@ static inline int sctp_frag_point(const struct sctp_association *asoc, int pmtu)
|
|||
return frag;
|
||||
}
|
||||
|
||||
static inline void sctp_assoc_pending_pmtu(struct sctp_association *asoc)
|
||||
static inline void sctp_assoc_pending_pmtu(struct sock *sk, struct sctp_association *asoc)
|
||||
{
|
||||
|
||||
sctp_assoc_sync_pmtu(asoc);
|
||||
sctp_assoc_sync_pmtu(sk, asoc);
|
||||
asoc->pmtu_pending = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1091,7 +1091,7 @@ void sctp_transport_burst_limited(struct sctp_transport *);
|
|||
void sctp_transport_burst_reset(struct sctp_transport *);
|
||||
unsigned long sctp_transport_timeout(struct sctp_transport *);
|
||||
void sctp_transport_reset(struct sctp_transport *);
|
||||
void sctp_transport_update_pmtu(struct sctp_transport *, u32);
|
||||
void sctp_transport_update_pmtu(struct sock *, struct sctp_transport *, u32);
|
||||
void sctp_transport_immediate_rtx(struct sctp_transport *);
|
||||
|
||||
|
||||
|
|
@ -2003,7 +2003,7 @@ void sctp_assoc_update(struct sctp_association *old,
|
|||
|
||||
__u32 sctp_association_get_next_tsn(struct sctp_association *);
|
||||
|
||||
void sctp_assoc_sync_pmtu(struct sctp_association *);
|
||||
void sctp_assoc_sync_pmtu(struct sock *, struct sctp_association *);
|
||||
void sctp_assoc_rwnd_increase(struct sctp_association *, unsigned int);
|
||||
void sctp_assoc_rwnd_decrease(struct sctp_association *, unsigned int);
|
||||
void sctp_assoc_set_primary(struct sctp_association *,
|
||||
|
|
|
|||
Loading…
Reference in a new issue