[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080906183821.1da26204@extreme>
Date: Sat, 6 Sep 2008 18:38:21 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
containers@...ux-foundation.org
Subject: Re: [PATCH 2/2] netns bridge: cleanup bridges during netns stop
On Sat, 6 Sep 2008 10:44:08 +0400
Alexey Dobriyan <adobriyan@...il.com> wrote:
> Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
> ---
>
> net/bridge/br.c | 22 ++++++++++++++++------
> net/bridge/br_if.c | 4 ++--
> net/bridge/br_private.h | 2 +-
> 3 files changed, 19 insertions(+), 9 deletions(-)
>
> --- a/net/bridge/br.c
> +++ b/net/bridge/br.c
> @@ -28,6 +28,10 @@ static const struct stp_proto br_stp_proto = {
> .rcv = br_stp_rcv,
> };
>
> +static struct pernet_operations br_net_ops = {
> + .exit = br_net_exit,
> +};
> +
Acked-by: Stephen Hemminger <shemminger@...tta.com>
overall, this is fine, but you might want to think about making
pernet_operations const if possible in future.
--
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