Skip to content

Commit

Permalink
Fix merge [1/2]: "tcp: introduce per-route feature RTAX_FEATURE_ECN_LOW"
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
xanmod committed Jan 10, 2024
1 parent aacf21a commit f1b2b0d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions include/net/tcp.h
Original file line number Diff line number Diff line change
Expand Up @@ -725,15 +725,6 @@ static inline void tcp_fast_path_check(struct sock *sk)
tcp_fast_path_on(tp);
}

static inline void tcp_set_ecn_low_from_dst(struct sock *sk,
const struct dst_entry *dst)
{
struct tcp_sock *tp = tcp_sk(sk);

if (dst_feature(dst, RTAX_FEATURE_ECN_LOW))
tp->ecn_flags |= TCP_ECN_LOW;
}

/* Compute the actual rto_min value */
static inline u32 tcp_rto_min(struct sock *sk)
{
Expand Down

0 comments on commit f1b2b0d

Please sign in to comment.