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
407f96b4
Commit
407f96b4
authored
Jan 19, 2005
by
Patrick McHardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PKT_SCHED]: cls_api.c: fix module reference leak on module load
Signed-off-by:
Patrick McHardy
<
kaber@trash.net
>
parent
fb2eef41
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
net/sched/cls_api.c
net/sched/cls_api.c
+3
-1
No files found.
net/sched/cls_api.c
View file @
407f96b4
...
...
@@ -239,9 +239,11 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, void *arg)
* replay the request. We indicate this using
* -EAGAIN.
*/
if
(
tp_ops
!=
NULL
)
if
(
tp_ops
!=
NULL
)
{
module_put
(
tp_ops
->
owner
);
err
=
-
EAGAIN
;
}
}
#endif
kfree
(
tp
);
goto
errout
;
...
...
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