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

[ Available lists | Index of cvs-src-old | Month of Jan 2010 | Week of 18 Jan 2010 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Andrew Thompson <thompsa@FreeBSD.org>
Date
18 Jan 2010 20:34:48
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
201001182034.o0IKYmMN013790@repoman.freebsd.org


[ Hide this part ]
thompsa     2010-01-18 20:34:00 UTC

FreeBSD src repository

Modified files:
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 202588 on 2010-01-18 20:34:00Z by thompsa

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

Revision Changes Path
1.373 +1 -0 src/sys/net/if.c
1.138 +2 -0 src/sys/net/if_bridge.c
1.39 +1 -0 src/sys/net/if_lagg.c
1.163 +3 -0 src/sys/net/if_var.h
1.145 +42 -0 src/sys/net/if_vlan.c
1.56 +1 -0 src/sys/netgraph/ng_eiface.c
1.78 +1 -0 src/sys/netgraph/ng_ether.c
1.35 +1 -0 src/sys/netgraph/ng_fec.c


Elapsed time: 0.067 seconds