forked from Minki/linux
s390/qeth: remove additional skb refcount
This was presumably left over from back when qeth recursed into dev_queue_xmit(). Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
dc149e3764
commit
5a5312bdba
@ -1211,7 +1211,6 @@ static void qeth_release_skbs(struct qeth_qdio_out_buffer *buf)
|
|||||||
iucv->sk_txnotify(skb, TX_NOTIFY_GENERALERROR);
|
iucv->sk_txnotify(skb, TX_NOTIFY_GENERALERROR);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
refcount_dec(&skb->users);
|
|
||||||
}
|
}
|
||||||
__skb_queue_purge(&buf->skb_list);
|
__skb_queue_purge(&buf->skb_list);
|
||||||
}
|
}
|
||||||
@ -3988,7 +3987,6 @@ static int qeth_fill_buffer(struct qeth_qdio_out_q *queue,
|
|||||||
bool is_first_elem = true;
|
bool is_first_elem = true;
|
||||||
int flush_cnt = 0;
|
int flush_cnt = 0;
|
||||||
|
|
||||||
refcount_inc(&skb->users);
|
|
||||||
__skb_queue_tail(&buf->skb_list, skb);
|
__skb_queue_tail(&buf->skb_list, skb);
|
||||||
|
|
||||||
/* build dedicated header element */
|
/* build dedicated header element */
|
||||||
|
Loading…
Reference in New Issue
Block a user