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
d2d7f4b4
Commit
d2d7f4b4
authored
Nov 24, 2003
by
David S. Miller
Committed by
Linus Torvalds
Nov 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PPPOE]: Do not leak SKB if sock_queue_rcv_skb() fails.
parent
690bf963
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/net/pppoe.c
drivers/net/pppoe.c
+2
-1
No files found.
drivers/net/pppoe.c
View file @
d2d7f4b4
...
@@ -352,7 +352,8 @@ static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb)
...
@@ -352,7 +352,8 @@ static int pppoe_rcv_core(struct sock *sk, struct sk_buff *skb)
if
(
!
__pppoe_xmit
(
relay_po
->
sk
,
skb
))
if
(
!
__pppoe_xmit
(
relay_po
->
sk
,
skb
))
goto
abort_put
;
goto
abort_put
;
}
else
{
}
else
{
sock_queue_rcv_skb
(
sk
,
skb
);
if
(
sock_queue_rcv_skb
(
sk
,
skb
))
goto
abort_kfree
;
}
}
return
NET_RX_SUCCESS
;
return
NET_RX_SUCCESS
;
...
...
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