Merge branch 'xen-netback-next'
David Vrabel says: ==================== xen-netback: minor cleanups Two minor xen-netback cleanups originally from Zoltan. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Коммит
c6be2a10ac
|
@ -281,10 +281,10 @@ static void xenvif_down(struct xenvif *vif)
|
|||
|
||||
for (queue_index = 0; queue_index < num_queues; ++queue_index) {
|
||||
queue = &vif->queues[queue_index];
|
||||
napi_disable(&queue->napi);
|
||||
disable_irq(queue->tx_irq);
|
||||
if (queue->tx_irq != queue->rx_irq)
|
||||
disable_irq(queue->rx_irq);
|
||||
napi_disable(&queue->napi);
|
||||
del_timer_sync(&queue->credit_timeout);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1494,7 +1494,7 @@ static int xenvif_handle_frag_list(struct xenvif_queue *queue, struct sk_buff *s
|
|||
unsigned int len;
|
||||
|
||||
BUG_ON(i >= MAX_SKB_FRAGS);
|
||||
page = alloc_page(GFP_ATOMIC|__GFP_COLD);
|
||||
page = alloc_page(GFP_ATOMIC);
|
||||
if (!page) {
|
||||
int j;
|
||||
skb->truesize += skb->data_len;
|
||||
|
|
Загрузка…
Ссылка в новой задаче