X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Firda%2Fircomm%2Fircomm_lmp.c;h=7ba96618660e349de2253473d6701ab8bbad9613;hb=d55d87fdff8252d0e2f7c28c2d443aee17e9d70f;hp=67c99d20857fab4e2e078e9c1d5d4a9ee6bbc952;hpb=233607dbbc823caf685e778cabc49fb7f679900b;p=cascardo%2Flinux.git diff --git a/net/irda/ircomm/ircomm_lmp.c b/net/irda/ircomm/ircomm_lmp.c index 67c99d20857f..7ba96618660e 100644 --- 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)) {