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
08e1195e
Commit
08e1195e
authored
Oct 09, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TCP]: Only non-zero inits are necessary in tcp_vX_init_sock.
parent
074d9880
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_ipv4.c
+0
-3
net/ipv6/tcp_ipv6.c
net/ipv6/tcp_ipv6.c
+0
-3
No files found.
net/ipv4/tcp_ipv4.c
View file @
08e1195e
...
@@ -2032,9 +2032,6 @@ static int tcp_v4_init_sock(struct sock *sk)
...
@@ -2032,9 +2032,6 @@ static int tcp_v4_init_sock(struct sock *sk)
*/
*/
tp
->
snd_cwnd
=
2
;
tp
->
snd_cwnd
=
2
;
tp
->
frto_counter
=
0
;
tp
->
frto_highmark
=
0
;
/* See draft-stevens-tcpca-spec-01 for discussion of the
/* See draft-stevens-tcpca-spec-01 for discussion of the
* initialization of these values.
* initialization of these values.
*/
*/
...
...
net/ipv6/tcp_ipv6.c
View file @
08e1195e
...
@@ -1849,9 +1849,6 @@ static int tcp_v6_init_sock(struct sock *sk)
...
@@ -1849,9 +1849,6 @@ static int tcp_v6_init_sock(struct sock *sk)
*/
*/
tp
->
snd_cwnd
=
2
;
tp
->
snd_cwnd
=
2
;
tp
->
frto_counter
=
0
;
tp
->
frto_highmark
=
0
;
/* See draft-stevens-tcpca-spec-01 for discussion of the
/* See draft-stevens-tcpca-spec-01 for discussion of the
* initialization of these values.
* initialization of these values.
*/
*/
...
...
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