Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iproute2
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
iproute2
Commits
f453a0d4
Commit
f453a0d4
authored
Oct 07, 2005
by
shemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tc pfifo_fast with options
parent
e8f6df69
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
ChangeLog
ChangeLog
+4
-0
tc/tc.c
tc/tc.c
+1
-1
tc/tc_qdisc.c
tc/tc_qdisc.c
+4
-0
No files found.
ChangeLog
View file @
f453a0d4
2005-10-07 Mike Frysinger <vapier@gentoo.org>
* Handle pfifo_fast that has no qopt without segfaulting
2005-10-05 Mads Martin Joergensen <mmj@suse.de>
* Trivial netem ccopts
...
...
tc/tc.c
View file @
f453a0d4
...
...
@@ -38,7 +38,7 @@ int use_iec = 0;
int
force
=
0
;
struct
rtnl_handle
rth
;
static
void
*
BODY
;
/* cached handle dlopen(NULL) */
static
void
*
BODY
=
NULL
;
/* cached handle dlopen(NULL) */
static
struct
qdisc_util
*
qdisc_list
;
static
struct
filter_util
*
filter_list
;
...
...
tc/tc_qdisc.c
View file @
f453a0d4
...
...
@@ -126,6 +126,10 @@ int tc_qdisc_modify(int cmd, unsigned flags, int argc, char **argv)
addattr_l
(
&
req
.
n
,
sizeof
(
req
),
TCA_RATE
,
&
est
,
sizeof
(
est
));
if
(
q
)
{
if
(
!
q
->
parse_qopt
)
{
fprintf
(
stderr
,
"qdisc '%s' does not support option parsing
\n
"
,
k
);
return
-
1
;
}
if
(
q
->
parse_qopt
(
q
,
argc
,
argv
,
&
req
.
n
))
return
1
;
}
else
{
...
...
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