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
cfed27c6
Commit
cfed27c6
authored
May 13, 2003
by
Patrick McHardy
Committed by
David S. Miller
May 13, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Fix two bogus kfree(skb).
parent
1d7ed419
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
net/bridge/br_input.c
net/bridge/br_input.c
+1
-1
net/decnet/netfilter/dn_rtmsg.c
net/decnet/netfilter/dn_rtmsg.c
+1
-1
No files found.
net/bridge/br_input.c
View file @
cfed27c6
...
@@ -64,7 +64,7 @@ int br_handle_frame_finish(struct sk_buff *skb)
...
@@ -64,7 +64,7 @@ int br_handle_frame_finish(struct sk_buff *skb)
smp_read_barrier_depends
();
smp_read_barrier_depends
();
if
(
p
==
NULL
||
p
->
state
==
BR_STATE_DISABLED
)
{
if
(
p
==
NULL
||
p
->
state
==
BR_STATE_DISABLED
)
{
kfree
(
skb
);
kfree
_skb
(
skb
);
goto
out
;
goto
out
;
}
}
...
...
net/decnet/netfilter/dn_rtmsg.c
View file @
cfed27c6
...
@@ -55,7 +55,7 @@ static struct sk_buff *dnrmg_build_message(struct sk_buff *rt_skb, int *errp)
...
@@ -55,7 +55,7 @@ static struct sk_buff *dnrmg_build_message(struct sk_buff *rt_skb, int *errp)
nlmsg_failure:
nlmsg_failure:
if
(
skb
)
if
(
skb
)
kfree
(
skb
);
kfree
_skb
(
skb
);
*
errp
=
-
ENOMEM
;
*
errp
=
-
ENOMEM
;
if
(
net_ratelimit
())
if
(
net_ratelimit
())
printk
(
KERN_ERR
"dn_rtmsg: error creating netlink message
\n
"
);
printk
(
KERN_ERR
"dn_rtmsg: error creating netlink message
\n
"
);
...
...
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