[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [NET] front: Fix "rmmod xennet" crash in dom0.
# HG changeset patch # User kfraser@xxxxxxxxxxxxxxxxxxxxx # Node ID 20522afb261544d2c816a949699f4a3d54a92f46 # Parent 47718a3d011e09178e093dd78e72851972f17ef6 [NET] front: Fix "rmmod xennet" crash in dom0. Signed-off-by: Jim Dykman <dykman@xxxxxxxxxx> --- linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c | 3 +++ 1 files changed, 3 insertions(+) diff -r 47718a3d011e -r 20522afb2615 linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c --- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Wed Oct 18 19:20:36 2006 +0100 +++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c Wed Oct 18 19:23:32 2006 +0100 @@ -2129,6 +2129,9 @@ module_init(netif_init); static void __exit netif_exit(void) { + if (is_initial_xendomain()) + return; + unregister_inetaddr_notifier(¬ifier_inetdev); return xenbus_unregister_driver(&netfront); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |