Date: Tue, 25 May 2010 02:36:06 +0000 (UTC) From: Andrew Thompson <thompsa@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if.c if_bridge.c if_lagg.c if_var.h if_vlan.c src/sys/netgraph ng_eiface.c ng_ether.c ng_fec.c Message-ID: <201005250237.o4P2bAHA056853@repoman.freebsd.org>
index | next in thread | raw e-mail
thompsa 2010-05-25 02:36:06 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/net if.c if_bridge.c if_lagg.c if_var.h
if_vlan.c
sys/netgraph ng_eiface.c ng_ether.c ng_fec.c
Log:
SVN rev 208526 on 2010-05-25 02:36:06Z by thompsa
MFC r202588
Declare a new EVENTHANDLER called iflladdr_event which signals that the L2
address on an interface has changed. This lets stacked interfaces such as
vlan(4) detect that their lower interface has changed and adjust things in
order to keep working. Previously this situation broke at least vlan(4) and
lagg(4) configurations.
The EVENTHANDLER_INVOKE call was not placed within if_setlladdr() due to the
risk of a loop.
PR: kern/142927
Submitted by: Nikolay Denev
MFC r202611
Do not hold the lock over if_setlladdr() as it calls into the interface driver
init routine.
Revision Changes Path
1.359.2.21 +1 -0 src/sys/net/if.c
1.131.2.6 +2 -0 src/sys/net/if_bridge.c
1.37.2.3 +1 -0 src/sys/net/if_lagg.c
1.152.2.11 +3 -0 src/sys/net/if_var.h
1.139.2.9 +47 -0 src/sys/net/if_vlan.c
1.54.2.2 +1 -0 src/sys/netgraph/ng_eiface.c
1.76.2.3 +1 -0 src/sys/netgraph/ng_ether.c
1.33.2.2 +1 -0 src/sys/netgraph/ng_fec.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005250237.o4P2bAHA056853>
