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
2a238472
Commit
2a238472
authored
May 17, 2003
by
Arnaldo Carvalho de Melo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
o ipv6/ip6_fib: use C99 struct style init and move rt_sernum to .bss
parent
96655561
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
net/ipv6/ip6_fib.c
net/ipv6/ip6_fib.c
+3
-2
No files found.
net/ipv6/ip6_fib.c
View file @
2a238472
...
@@ -91,12 +91,13 @@ static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
...
@@ -91,12 +91,13 @@ static struct fib6_node * fib6_repair_tree(struct fib6_node *fn);
* result of redirects, path MTU changes, etc.
* result of redirects, path MTU changes, etc.
*/
*/
static
__u32
rt_sernum
=
0
;
static
__u32
rt_sernum
;
static
struct
timer_list
ip6_fib_timer
=
TIMER_INITIALIZER
(
fib6_run_gc
,
0
,
0
);
static
struct
timer_list
ip6_fib_timer
=
TIMER_INITIALIZER
(
fib6_run_gc
,
0
,
0
);
static
struct
fib6_walker_t
fib6_walker_list
=
{
static
struct
fib6_walker_t
fib6_walker_list
=
{
&
fib6_walker_list
,
&
fib6_walker_list
,
.
prev
=
&
fib6_walker_list
,
.
next
=
&
fib6_walker_list
,
};
};
#define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next)
#define FOR_WALKERS(w) for ((w)=fib6_walker_list.next; (w) != &fib6_walker_list; (w)=(w)->next)
...
...
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