From: Ursula Braun <ursula.braun@xxxxxxxxxx> tx_bytes value must be updated by skb length before skb is freed. Signed-off-by: Ursula Braun <ursula.braun@xxxxxxxxxx> --- drivers/s390/net/netiucv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- To unsubscribe from this list: send the line "unsubscribe linux-s390" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html