[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20070307.161203.26532896.davem@davemloft.net>
Date: Wed, 07 Mar 2007 16:12:03 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...ux-foundation.org
Cc: netdev@...r.kernel.org, bridge@...ux-foundation.org
Subject: Re: [PATCH] bridge: adding new device to bridge should enable if up
From: Stephen Hemminger <shemminger@...ux-foundation.org>
Date: Wed, 7 Mar 2007 16:03:55 -0800
> One change introduced by the workqueue removal patch is that adding an
> interface that is up to a bridge which is also up does not ever call
> br_stp_enable_port(), leaving the port in DISABLED state until we do
> ifconfig down and up or link events occur.
>
> The following patch to the br_add_if function fixes it.
> This is a regression introduced in 2.6.21.
>
> Submitted-by: Aji_Srinivas@....com
> Signed-off-by: Stephen Hemminger <shemminger@...ux-foundation.org>
Applied, but:
> + if ((dev->flags & IFF_UP) && netif_carrier_ok(dev) &&
> + (br->dev->flags & IFF_UP))
I had to fix up the trailing whitespace on that second line.
Please use "git apply --check --whitespace=error-all"
or similar to validate the patches you send me.
Thanks.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists