mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Update OpenWRT and kernles
This commit is contained in:
parent
e75a92d4ae
commit
a2aa52dac8
17 changed files with 5626 additions and 580 deletions
|
@ -3244,14 +3244,14 @@ index be6d22b8190f..4943f96aade8 100644
|
|||
|
||||
/* Link BUFF into the send queue. */
|
||||
@@ -1743,13 +1750,12 @@ static u32 tcp_tso_autosize(const struct sock *sk, unsigned int mss_now,
|
||||
static u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now)
|
||||
u32 tcp_tso_segs(struct sock *sk, unsigned int mss_now)
|
||||
{
|
||||
const struct tcp_congestion_ops *ca_ops = inet_csk(sk)->icsk_ca_ops;
|
||||
- u32 min_tso, tso_segs;
|
||||
-
|
||||
- min_tso = ca_ops->min_tso_segs ?
|
||||
- ca_ops->min_tso_segs(sk) :
|
||||
- sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs;
|
||||
- READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_min_tso_segs);
|
||||
+ u32 tso_segs;
|
||||
|
||||
- tso_segs = tcp_tso_autosize(sk, mss_now, min_tso);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue