[Bridge] Re: linux bridge does not bridge bpdu packets

Benny Amorsen benny+usenet at amorsen.dk
Tue Apr 24 23:55:54 PDT 2007


>>>>> "SH" == Stephen Hemminger <shemminger at linux-foundation.org> writes:

SH> -	if (unlikely(is_link_local(dest))) {
SH> -		skb->pkt_type = PACKET_HOST;
SH> +	/* Don't forward 802.1x packets */
SH> +	if (p->br->stp_enabled != BR_NO_STP && is_link_local(dest)) {
SH> +		skb->pkt_type = PACKET_MULTICAST;

Maybe I'm stupid here, but why change behaviour even in the case where
STP is enabled? (The PACKET_HOST -> PACKET_MULTICAST change)


/Benny




More information about the Bridge mailing list