Hello,

it looks good, for just interface renaming scope.

The problem of it is that you need to check if the ifnet pointer needs
updated as well.
For coming and going interfaces like vlans you would have to update some
pointers as well at least the ifnet one.

The complete patch would rather include moving detach/attach(?) code from
if_ethersubr.c to ng_ether based on interface events.


On Sun, Jan 27, 2013 at 12:16 PM, Andriy Gapon <a...@freebsd.org> wrote:

>
> Guys,
>
> based on your suggestions and submissions I've produced the following
> patch:
> http://people.freebsd.org/~avg/ng_ether-renaming.diff
>
> It's only compile-tested at the moment :)
> but I'd like to get your opinion about the direction of the change(s).
> I am going to really test the change very soon.
>
> Thank you.
>
> --
> Andriy Gapon
>



-- 
Ermal
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to