Date: Tue, 29 Dec 2009 13:35:18 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if.c if.h if_vlan.c Message-ID: <200912291335.nBTDZerN086503@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-12-29 13:35:18 UTC
FreeBSD src repository
Modified files:
sys/net if.c if.h if_vlan.c
Log:
SVN rev 201196 on 2009-12-29 13:35:18Z by jhb
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.
Reviewed by: brooks, rwatson
MFC after: 1 week
Revision Changes Path
1.371 +10 -0 src/sys/net/if.c
1.123 +1 -0 src/sys/net/if.h
1.142 +6 -1 src/sys/net/if_vlan.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912291335.nBTDZerN086503>
