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 <one...@gmail.com>
To: FreeBSD Net <n...@freebsd.org>

Hi,

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

Patch attached.

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
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to