interface.c (e8c127b0576660da9195504fe8393fe9da3de9ce) | interface.c (a9da6ddaef9ef7d9afd3f89e447c60e38f74bf44) |
---|---|
1/* 2 * Network-device interface management. 3 * 4 * Copyright (c) 2004-2005, Keir Fraser 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License version 2 8 * as published by the Free Software Foundation; or, when distributed --- 654 unchanged lines hidden (view full) --- 663 664err: 665 return err; 666} 667 668static void xenvif_disconnect_queue(struct xenvif_queue *queue) 669{ 670 if (queue->task) { | 1/* 2 * Network-device interface management. 3 * 4 * Copyright (c) 2004-2005, Keir Fraser 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU General Public License version 2 8 * as published by the Free Software Foundation; or, when distributed --- 654 unchanged lines hidden (view full) --- 663 664err: 665 return err; 666} 667 668static void xenvif_disconnect_queue(struct xenvif_queue *queue) 669{ 670 if (queue->task) { |
671 kthread_stop(queue->task); 672 put_task_struct(queue->task); | 671 kthread_stop_put(queue->task); |
673 queue->task = NULL; 674 } 675 676 if (queue->dealloc_task) { 677 kthread_stop(queue->dealloc_task); 678 queue->dealloc_task = NULL; 679 } 680 --- 175 unchanged lines hidden --- | 672 queue->task = NULL; 673 } 674 675 if (queue->dealloc_task) { 676 kthread_stop(queue->dealloc_task); 677 queue->dealloc_task = NULL; 678 } 679 --- 175 unchanged lines hidden --- |