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
nexedi
linux
Commits
5ef342f7
Commit
5ef342f7
authored
Aug 31, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6]: Fix types in fl6_renew().
parent
5a53df16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
net/ipv6/ip6_flowlabel.c
net/ipv6/ip6_flowlabel.c
+2
-2
No files found.
net/ipv6/ip6_flowlabel.c
View file @
5ef342f7
...
@@ -249,7 +249,7 @@ struct ipv6_txoptions *fl6_merge_options(struct ipv6_txoptions * opt_space,
...
@@ -249,7 +249,7 @@ struct ipv6_txoptions *fl6_merge_options(struct ipv6_txoptions * opt_space,
return
opt_space
;
return
opt_space
;
}
}
static
__u32
check_linger
(
__u16
ttl
)
static
unsigned
long
check_linger
(
unsigned
long
ttl
)
{
{
if
(
ttl
<
FL_MIN_LINGER
)
if
(
ttl
<
FL_MIN_LINGER
)
return
FL_MIN_LINGER
*
HZ
;
return
FL_MIN_LINGER
*
HZ
;
...
@@ -258,7 +258,7 @@ static __u32 check_linger(__u16 ttl)
...
@@ -258,7 +258,7 @@ static __u32 check_linger(__u16 ttl)
return
ttl
*
HZ
;
return
ttl
*
HZ
;
}
}
static
int
fl6_renew
(
struct
ip6_flowlabel
*
fl
,
unsigned
l
inger
,
unsigned
expires
)
static
int
fl6_renew
(
struct
ip6_flowlabel
*
fl
,
unsigned
l
ong
linger
,
unsigned
long
expires
)
{
{
linger
=
check_linger
(
linger
);
linger
=
check_linger
(
linger
);
if
(
!
linger
)
if
(
!
linger
)
...
...
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