projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: Move rx skb_orphan call to where needed
[cascardo/linux.git]
/
net
/
irda
/
ircomm
/
ircomm_lmp.c
diff --git
a/net/irda/ircomm/ircomm_lmp.c
b/net/irda/ircomm/ircomm_lmp.c
index
67c99d2
..
7ba9661
100644
(file)
--- a/
net/irda/ircomm/ircomm_lmp.c
+++ b/
net/irda/ircomm/ircomm_lmp.c
@@
-196,6
+196,7
@@
static int ircomm_lmp_data_request(struct ircomm_cb *self,
/* Don't forget to refcount it - see ircomm_tty_do_softint() */
skb_get(skb);
+ skb_orphan(skb);
skb->destructor = ircomm_lmp_flow_control;
if ((self->pkt_count++ > 7) && (self->flow_status == FLOW_START)) {