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
e31cd2a3
Commit
e31cd2a3
authored
Sep 06, 2004
by
Jamal Hadi Salim
Committed by
Patrick McHardy
Sep 06, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKT_SCHED]: Fix gact compile warnings.
Signed-off-by:
David S. Miller
<
davem@davemloft.net
>
parent
f758b3ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
net/sched/gact.c
net/sched/gact.c
+4
-0
No files found.
net/sched/gact.c
View file @
e31cd2a3
...
@@ -76,7 +76,9 @@ tcf_gact_init(struct rtattr *rta, struct rtattr *est, struct tc_action *a,int ov
...
@@ -76,7 +76,9 @@ tcf_gact_init(struct rtattr *rta, struct rtattr *est, struct tc_action *a,int ov
{
{
struct
rtattr
*
tb
[
TCA_GACT_MAX
];
struct
rtattr
*
tb
[
TCA_GACT_MAX
];
struct
tc_gact
*
parm
=
NULL
;
struct
tc_gact
*
parm
=
NULL
;
#ifdef CONFIG_GACT_PROB
struct
tc_gact_p
*
p_parm
=
NULL
;
struct
tc_gact_p
*
p_parm
=
NULL
;
#endif
struct
tcf_gact
*
p
=
NULL
;
struct
tcf_gact
*
p
=
NULL
;
int
ret
=
0
;
int
ret
=
0
;
int
size
=
sizeof
(
*
p
);
int
size
=
sizeof
(
*
p
);
...
@@ -176,7 +178,9 @@ tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
...
@@ -176,7 +178,9 @@ tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref)
{
{
unsigned
char
*
b
=
skb
->
tail
;
unsigned
char
*
b
=
skb
->
tail
;
struct
tc_gact
opt
;
struct
tc_gact
opt
;
#ifdef CONFIG_GACT_PROB
struct
tc_gact_p
p_opt
;
struct
tc_gact_p
p_opt
;
#endif
struct
tcf_gact
*
p
;
struct
tcf_gact
*
p
;
struct
tcf_t
t
;
struct
tcf_t
t
;
...
...
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