Hiroki Sato c92a456b55 Fix group membership of cloned interfaces when one is moved by
if_vmove().

In if_vmove(), if_detach_internal() and if_attach_internal() were
called in series to detach and reattach the interface.  When
detaching, if_delgroup() was called and the interface leaves all of
the group membership.  And then upon attachment, if_addgroup(ifp,
IFG_ALL) was called and it joined only "all" group again.

This had a problem. Normally, a cloned interface automatically joins
a group whose name is ifc_name of the cloner in addition to "all"
upon creation.  However, if_vmove() removed the membership and did
not restore upon attachment.

Differential Revision:	https://reviews.freebsd.org/D1859
2015-03-02 20:00:03 +00:00
..
2015-03-02 18:08:39 +00:00
2015-01-23 21:08:24 +00:00
2015-03-02 19:14:58 +00:00
2015-03-01 00:22:16 +00:00
2015-02-23 12:54:46 +00:00
2015-03-01 21:47:38 +00:00
2015-02-02 16:07:07 +00:00