[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130127.193511.2294954038548420781.davem@davemloft.net>
Date: Sun, 27 Jan 2013 19:35:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: vyasevich@...il.com
Cc: netdev@...r.kernel.org, linux-sctp@...r.kernel.org,
mmokrejs@...d.natur.cuni.cz, ebiederm@...ssion.com
Subject: Re: [PATCH] SCTP: Free the per-net sysctl table on net exit.
From: Vlad Yasevich <vyasevich@...il.com>
Date: Thu, 24 Jan 2013 11:02:47 -0500
> @@ -366,7 +366,11 @@ int sctp_sysctl_net_register(struct net *net)
>
> void sctp_sysctl_net_unregister(struct net *net)
> {
> + struct ctl_table *table;
> +
> + table = net->sctp.sysctl_hdr->ctl_table_arg;
> unregister_net_sysctl_table(net->sctp.sysctl_header);
> + kfree(table);
> }
In what tree does this compile? I tried both 'net' and 'net-next'
and got the same exact result:
net/sctp/sysctl.c: In function ‘sctp_sysctl_net_unregister’:
net/sctp/sysctl.c:371:19: error: ‘struct netns_sctp’ has no member named ‘sysctl_hdr’
make[1]: *** [net/sctp/sysctl.o] Error 1
make: *** [net/sctp/sysctl.o] Error 2
Powered by blists - more mailing lists