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
4f5b0080
Commit
4f5b0080
authored
Oct 23, 2002
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: When advmss of route is zero, report it as zero not 40.
parent
9c5f0745
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/ipv4/route.c
net/ipv4/route.c
+2
-1
No files found.
net/ipv4/route.c
View file @
4f5b0080
...
...
@@ -248,7 +248,8 @@ static int rt_cache_get_info(char *buffer, char **start, off_t offset,
r
->
u
.
dst
.
__use
,
0
,
(
unsigned
long
)
r
->
rt_src
,
(
int
)
r
->
u
.
dst
.
advmss
+
40
,
(
r
->
u
.
dst
.
advmss
?
(
int
)
r
->
u
.
dst
.
advmss
+
40
:
0
),
r
->
u
.
dst
.
window
,
(
int
)((
r
->
u
.
dst
.
rtt
>>
3
)
+
r
->
u
.
dst
.
rttvar
),
r
->
fl
.
fl4_tos
,
...
...
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