Re: [PATCH 2/2] netns bridge: cleanup bridges during netns stop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 6 Sep 2008 10:44:08 +0400
Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:

> Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> ---
> 
>  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@xxxxxxxxxx>

overall, this is fine, but you might want to think about making
pernet_operations const if possible in future.

_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux