diff options
Diffstat (limited to 'net/ipv4/tcp_minisocks.c')
-rw-r--r-- | net/ipv4/tcp_minisocks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/ipv4/tcp_minisocks.c b/net/ipv4/tcp_minisocks.c index a12b08fca5ad..36a8fbd0e64e 100644 --- a/net/ipv4/tcp_minisocks.c +++ b/net/ipv4/tcp_minisocks.c | |||
@@ -368,6 +368,12 @@ void tcp_twsk_destructor(struct sock *sk) | |||
368 | 368 | ||
369 | EXPORT_SYMBOL_GPL(tcp_twsk_destructor); | 369 | EXPORT_SYMBOL_GPL(tcp_twsk_destructor); |
370 | 370 | ||
371 | static inline void TCP_ECN_openreq_child(struct tcp_sock *tp, | ||
372 | struct request_sock *req) | ||
373 | { | ||
374 | tp->ecn_flags = inet_rsk(req)->ecn_ok ? TCP_ECN_OK : 0; | ||
375 | } | ||
376 | |||
371 | /* This is not only more efficient than what we used to do, it eliminates | 377 | /* This is not only more efficient than what we used to do, it eliminates |
372 | * a lot of code duplication between IPv4/IPv6 SYN recv processing. -DaveM | 378 | * a lot of code duplication between IPv4/IPv6 SYN recv processing. -DaveM |
373 | * | 379 | * |