On Mon, Nov 28, 2011 at 09:15:08AM -0800, Ben Pfaff wrote:
> On Mon, Nov 28, 2011 at 04:19:07PM +0100, Gaetano Catalli wrote:
> > the following is a snippet of code taken from the
> > netdev_linux_create_system() function in lib/netdev-linux.c. It wants
> > to attach a callback to interfaces status change events. The notifier
> > is unique for all devices so it is created when the first port is
> > attached to the switch and deleted when the last port is removed(in
> > netdev_linux_destroy()). I can't understand why this code is present
> > only in netdev_linux_create_system(), while it is missing in
> > netdev_linux_tap_create(). Does anybody have an explanation for that?
> 
> It does look like we should include that as common code between the
> two functions.

I sent out a patch (you are CCed).  Please look it over.

Thanks,

Ben.
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to