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
d7920faf
Commit
d7920faf
authored
May 02, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV4]: Fix typo in hashing changes.
parent
6d35bbea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
net/ipv4/route.c
net/ipv4/route.c
+3
-3
No files found.
net/ipv4/route.c
View file @
d7920faf
...
@@ -2575,9 +2575,6 @@ ctl_table ipv4_route_table[] = {
...
@@ -2575,9 +2575,6 @@ ctl_table ipv4_route_table[] = {
};
};
#endif
#endif
rt_hash_rnd
=
(
int
)
((
num_physpages
^
(
num_physpages
>>
8
))
^
(
jiffies
^
(
jiffies
>>
7
)));
#ifdef CONFIG_NET_CLS_ROUTE
#ifdef CONFIG_NET_CLS_ROUTE
struct
ip_rt_acct
*
ip_rt_acct
;
struct
ip_rt_acct
*
ip_rt_acct
;
...
@@ -2637,6 +2634,9 @@ int __init ip_rt_init(void)
...
@@ -2637,6 +2634,9 @@ int __init ip_rt_init(void)
{
{
int
i
,
order
,
goal
,
rc
=
0
;
int
i
,
order
,
goal
,
rc
=
0
;
rt_hash_rnd
=
(
int
)
((
num_physpages
^
(
num_physpages
>>
8
))
^
(
jiffies
^
(
jiffies
>>
7
)));
#ifdef CONFIG_NET_CLS_ROUTE
#ifdef CONFIG_NET_CLS_ROUTE
for
(
order
=
0
;
for
(
order
=
0
;
(
PAGE_SIZE
<<
order
)
<
256
*
sizeof
(
struct
ip_rt_acct
)
*
NR_CPUS
;
order
++
)
(
PAGE_SIZE
<<
order
)
<
256
*
sizeof
(
struct
ip_rt_acct
)
*
NR_CPUS
;
order
++
)
...
...
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