Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
79785e24
Commit
79785e24
authored
Mar 23, 2004
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Zap CONFIG_INET_ECN, just always off by default.
parent
a4ed20b6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
25 deletions
+0
-25
net/ipv4/Kconfig
net/ipv4/Kconfig
+0
-19
net/ipv4/tcp_diag.c
net/ipv4/tcp_diag.c
+0
-2
net/ipv4/tcp_input.c
net/ipv4/tcp_input.c
+0
-4
No files found.
net/ipv4/Kconfig
View file @
79785e24
...
...
@@ -287,25 +287,6 @@ config ARPD
and you should also say Y to "Kernel/User network link driver",
below. If unsure, say N.
config INET_ECN
bool "IP: TCP Explicit Congestion Notification support"
depends on INET
---help---
Explicit Congestion Notification (ECN) allows routers to notify
clients about network congestion, resulting in fewer dropped packets
and increased network performance. This option adds ECN support to
the Linux kernel, as well as a sysctl (/proc/sys/net/ipv4/tcp_ecn)
which allows ECN support to be disabled at runtime.
Note that, on the Internet, there are many broken firewalls which
refuse connections from ECN-enabled machines, and it may be a while
before these firewalls are fixed. Until then, to access a site
behind such a firewall (some of which are major sites, at the time
of this writing) you will have to disable this option, either by
saying N now or by using the sysctl.
If in doubt, say N.
config SYN_COOKIES
bool "IP: TCP syncookie support (disabled per default)"
depends on INET
...
...
net/ipv4/tcp_diag.c
View file @
79785e24
...
...
@@ -167,10 +167,8 @@ static int tcpdiag_fill(struct sk_buff *skb, struct sock *sk,
info
->
tcpi_snd_wscale
=
0
;
info
->
tcpi_rcv_wscale
=
0
;
}
#ifdef CONFIG_INET_ECN
if
(
tp
->
ecn_flags
&
TCP_ECN_OK
)
info
->
tcpi_options
|=
TCPI_OPT_ECN
;
#endif
info
->
tcpi_rto
=
(
1000000
*
tp
->
rto
)
/
HZ
;
info
->
tcpi_ato
=
(
1000000
*
tp
->
ack
.
ato
)
/
HZ
;
...
...
net/ipv4/tcp_input.c
View file @
79785e24
...
...
@@ -77,11 +77,7 @@ int sysctl_tcp_window_scaling = 1;
int
sysctl_tcp_sack
=
1
;
int
sysctl_tcp_fack
=
1
;
int
sysctl_tcp_reordering
=
TCP_FASTRETRANS_THRESH
;
#ifdef CONFIG_INET_ECN
int
sysctl_tcp_ecn
=
1
;
#else
int
sysctl_tcp_ecn
;
#endif
int
sysctl_tcp_dsack
=
1
;
int
sysctl_tcp_app_win
=
31
;
int
sysctl_tcp_adv_win_scale
=
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment