aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/tcp_input.c')
-rw-r--r--net/ipv4/tcp_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index 5a4408c55155..7008fccc164f 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -222,7 +222,7 @@ static inline void TCP_ECN_check_ce(struct tcp_sock *tp, const struct sk_buff *s
222 if (!(tp->ecn_flags & TCP_ECN_OK)) 222 if (!(tp->ecn_flags & TCP_ECN_OK))
223 return; 223 return;
224 224
225 switch (TCP_SKB_CB(skb)->flags & INET_ECN_MASK) { 225 switch (TCP_SKB_CB(skb)->ip_dsfield & INET_ECN_MASK) {
226 case INET_ECN_NOT_ECT: 226 case INET_ECN_NOT_ECT:
227 /* Funny extension: if ECT is not set on a segment, 227 /* Funny extension: if ECT is not set on a segment,
228 * and we already seen ECT on a previous segment, 228 * and we already seen ECT on a previous segment,