[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080121.004725.240179452.davem@davemloft.net>
Date: Mon, 21 Jan 2008 00:47:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: kaber@...sh.net
Cc: netdev@...r.kernel.org
Subject: Re: [MACVLAN]: Fix thinko in macvlan_transfer_operstate()
From: Patrick McHardy <kaber@...sh.net>
Date: Sun, 20 Jan 2008 15:47:08 +0100
> [MACVLAN]: Fix thinko in macvlan_transfer_operstate()
>
> When the lower device's carrier is off, the macvlan devices's
> carrier state should be checked to decide whether it needs to
> be turned off. Currently the lower device's state is checked
> a second time.
>
> This still works, but unnecessarily tries to turn off the
> carrier when its already off.
>
> Signed-off-by: Patrick McHardy <kaber@...sh.net>
Applied to net-2.6.25, 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