Fwd: if_ndis: fix for panic with VIMAGE

Nikos Vassiliadis nvass9573 at gmx.com
Fri Oct 15 10:23:35 UTC 2010


Forwarding to virtualization@

This fixes the panic for me.

http://lists.freebsd.org/pipermail/freebsd-virtualization/2010-September/000528.html

-------- Original Message --------
Subject: if_ndis: fix for panic with VIMAGE
Date: Mon, 11 Oct 2010 20:05:49 +0000
From: Paul B Mahol <onemda at gmail.com>
To: FreeBSD Net <net at freebsd.org>

Hi,

There is no single valid reason to call rt_ifmsg() in ndis_linksts_done()

Patch attached.

-------------- next part --------------
diff --git a/sys/dev/if_ndis/if_ndis.c b/sys/dev/if_ndis/if_ndis.c
index 2ec9d0e..a4672e0 100644
--- a/sys/dev/if_ndis/if_ndis.c
+++ b/sys/dev/if_ndis/if_ndis.c
@@ -1644,10 +1644,6 @@ ndis_linksts_done(adapter)
 	default:
 		break;
 	}
-
-	/* Notify possible listners of interface change. */
-
-	rt_ifmsg(ifp);
 }
 
 static void


More information about the freebsd-virtualization mailing list