projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0453098
)
Phonet: fix skb leak in pipe endpoint accept()
author
Rémi Denis-Courmont
<remi.denis-courmont@nokia.com>
Wed, 7 Jul 2010 20:56:53 +0000
(20:56 +0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 9 Jul 2010 04:45:34 +0000
(21:45 -0700)
Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pep.c
patch
|
blob
|
history
diff --git
a/net/phonet/pep.c
b/net/phonet/pep.c
index
94d72e8
..
b2a3ae6
100644
(file)
--- a/
net/phonet/pep.c
+++ b/
net/phonet/pep.c
@@
-698,6
+698,7
@@
static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp)
newsk = NULL;
goto out;
}
+ kfree_skb(oskb);
sock_hold(sk);
pep_sk(newsk)->listener = sk;