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
8a62319b
Commit
8a62319b
authored
Mar 19, 2002
by
Alexey Kuznetsov
Committed by
David S. Miller
Mar 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused field from TCP struct open_request.
parent
80f9a35d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
3 deletions
+1
-3
include/net/tcp.h
include/net/tcp.h
+1
-1
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_ipv4.c
+0
-1
net/ipv6/tcp_ipv6.c
net/ipv6/tcp_ipv6.c
+0
-1
No files found.
include/net/tcp.h
View file @
8a62319b
...
@@ -507,7 +507,7 @@ struct open_request {
...
@@ -507,7 +507,7 @@ struct open_request {
__u16
rmt_port
;
__u16
rmt_port
;
__u16
mss
;
__u16
mss
;
__u8
retrans
;
__u8
retrans
;
__u8
index
;
__u8
__pad
;
__u16
snd_wscale
:
4
,
__u16
snd_wscale
:
4
,
rcv_wscale
:
4
,
rcv_wscale
:
4
,
tstamp_ok
:
1
,
tstamp_ok
:
1
,
...
...
net/ipv4/tcp_ipv4.c
View file @
8a62319b
...
@@ -799,7 +799,6 @@ static void tcp_v4_synq_add(struct sock *sk, struct open_request *req)
...
@@ -799,7 +799,6 @@ static void tcp_v4_synq_add(struct sock *sk, struct open_request *req)
req
->
expires
=
jiffies
+
TCP_TIMEOUT_INIT
;
req
->
expires
=
jiffies
+
TCP_TIMEOUT_INIT
;
req
->
retrans
=
0
;
req
->
retrans
=
0
;
req
->
sk
=
NULL
;
req
->
sk
=
NULL
;
req
->
index
=
h
;
req
->
dl_next
=
lopt
->
syn_table
[
h
];
req
->
dl_next
=
lopt
->
syn_table
[
h
];
write_lock
(
&
tp
->
syn_wait_lock
);
write_lock
(
&
tp
->
syn_wait_lock
);
...
...
net/ipv6/tcp_ipv6.c
View file @
8a62319b
...
@@ -1142,7 +1142,6 @@ static void tcp_v6_synq_add(struct sock *sk, struct open_request *req)
...
@@ -1142,7 +1142,6 @@ static void tcp_v6_synq_add(struct sock *sk, struct open_request *req)
req
->
sk
=
NULL
;
req
->
sk
=
NULL
;
req
->
expires
=
jiffies
+
TCP_TIMEOUT_INIT
;
req
->
expires
=
jiffies
+
TCP_TIMEOUT_INIT
;
req
->
retrans
=
0
;
req
->
retrans
=
0
;
req
->
index
=
h
;
req
->
dl_next
=
lopt
->
syn_table
[
h
];
req
->
dl_next
=
lopt
->
syn_table
[
h
];
write_lock
(
&
tp
->
syn_wait_lock
);
write_lock
(
&
tp
->
syn_wait_lock
);
...
...
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