X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2Firda%2Fircomm%2Fircomm_lmp.c;h=7ba96618660e349de2253473d6701ab8bbad9613;hb=133309a89e7430f907ebe85e78906ee12c311727;hp=67c99d20857fab4e2e078e9c1d5d4a9ee6bbc952;hpb=e43fe686e48835ca027559a068bbe0b6d264a254;p=mv-sheeva.git diff --git a/net/irda/ircomm/ircomm_lmp.c b/net/irda/ircomm/ircomm_lmp.c index 67c99d20857..7ba96618660 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)) {