diff options
| author | David S. Miller <davem@davemloft.net> | 2016-04-23 18:26:24 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-04-23 18:51:33 -0400 |
| commit | 1602f49b58abcb0d34a5f0a29d68e7c1769547aa (patch) | |
| tree | 4848fb0ffbc581ff465fd9c9e5a5b10b06f09b68 /include/net/sctp | |
| parent | 22d37b6b0058365a80378ee6198d21e7f6c86327 (diff) | |
| parent | 5f44abd041c5f3be76d57579ab254d78e601315b (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts were two cases of simple overlapping changes,
nothing serious.
In the UDP case, we need to add a hlist_add_tail_rcu()
to linux/rculist.h, because we've moved UDP socket handling
away from using nulls lists.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sctp')
| -rw-r--r-- | include/net/sctp/structs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 21cb11107e37..558bae3cbe0d 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h | |||
| @@ -848,6 +848,11 @@ struct sctp_transport { | |||
| 848 | */ | 848 | */ |
| 849 | ktime_t last_time_heard; | 849 | ktime_t last_time_heard; |
| 850 | 850 | ||
| 851 | /* When was the last time that we sent a chunk using this | ||
| 852 | * transport? We use this to check for idle transports | ||
| 853 | */ | ||
| 854 | unsigned long last_time_sent; | ||
| 855 | |||
| 851 | /* Last time(in jiffies) when cwnd is reduced due to the congestion | 856 | /* Last time(in jiffies) when cwnd is reduced due to the congestion |
| 852 | * indication based on ECNE chunk. | 857 | * indication based on ECNE chunk. |
| 853 | */ | 858 | */ |
| @@ -953,7 +958,8 @@ void sctp_transport_route(struct sctp_transport *, union sctp_addr *, | |||
| 953 | struct sctp_sock *); | 958 | struct sctp_sock *); |
| 954 | void sctp_transport_pmtu(struct sctp_transport *, struct sock *sk); | 959 | void sctp_transport_pmtu(struct sctp_transport *, struct sock *sk); |
| 955 | void sctp_transport_free(struct sctp_transport *); | 960 | void sctp_transport_free(struct sctp_transport *); |
| 956 | void sctp_transport_reset_timers(struct sctp_transport *); | 961 | void sctp_transport_reset_t3_rtx(struct sctp_transport *); |
| 962 | void sctp_transport_reset_hb_timer(struct sctp_transport *); | ||
| 957 | int sctp_transport_hold(struct sctp_transport *); | 963 | int sctp_transport_hold(struct sctp_transport *); |
| 958 | void sctp_transport_put(struct sctp_transport *); | 964 | void sctp_transport_put(struct sctp_transport *); |
| 959 | void sctp_transport_update_rto(struct sctp_transport *, __u32); | 965 | void sctp_transport_update_rto(struct sctp_transport *, __u32); |
