Message ID | 20091113075050.863396000@linux.vnet.ibm.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Index: linux-next-uschi/drivers/s390/net/netiucv.c =================================================================== --- linux-next-uschi.orig/drivers/s390/net/netiucv.c +++ linux-next-uschi/drivers/s390/net/netiucv.c @@ -739,13 +739,13 @@ static void conn_action_txdone(fsm_insta if (single_flag) { if ((skb = skb_dequeue(&conn->commit_queue))) { atomic_dec(&skb->users); - dev_kfree_skb_any(skb); if (privptr) { privptr->stats.tx_packets++; privptr->stats.tx_bytes += (skb->len - NETIUCV_HDRLEN - - NETIUCV_HDRLEN); + - NETIUCV_HDRLEN); } + dev_kfree_skb_any(skb); } } conn->tx_buff->data = conn->tx_buff->head;