[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080429.031750.252450213.davem@davemloft.net>
Date: Tue, 29 Apr 2008 03:17:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org, volodymyrgl@...il.com
Subject: Re: [PATCH 1/2] bridge: fix error handling in br_add_if()
From: Stephen Hemminger <shemminger@...tta.com>
Date: Mon, 28 Apr 2008 17:29:25 -0700
> When device is added to bridge its refcnt is incremented (in new_nbp()), but if
> error occurs during further br_add_if() operations this counter is not
> decremented back. Fix it by adding dev_put() call in the error path.
>
> Signed-off-by: Volodymyr G Lukiianyk <volodymyrgl@...il.com>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied.
--
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