]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 201196:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jan 2010 18:25:41 +0000 (18:25 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 5 Jan 2010 18:25:41 +0000 (18:25 +0000)
commit74b864119ea0dc703573d127159a34210d39c5d9
tree42aa68bc1cb93724ddbd7375a090537b936fed56
parent5969bc22eeb57529dd79bcee1cfa444332b7d81a
MFC 201196:
Change vlan interfaces to cope more usefully with the parent interface being
renamed.  Previously the vlan interfaces would lose their configuration as if
the parent interface had been physically removed.  Now vlan interfaces ignore
rename events.
- Add a new ifnet flag (IFF_RENAMING) that is set while an ifnet is being
  renamed.  This flag can be checked in ifnet departure/arrival event
  handlers to treat rename events differently.
- Change the ifnet departure event handler in the if_vlan(4) driver to
  ignore departure events due to a trunk interface being renamed.

git-svn-id: svn://svn.freebsd.org/base/stable/8@201597 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/net/if.c
sys/net/if.h
sys/net/if_vlan.c