build: support for Linux 3.9

This commit is contained in:
Jan Engelhardt
2013-03-07 22:56:27 +01:00
parent 48ebf55444
commit cb1cdb190f
3 changed files with 9 additions and 3 deletions

View File

@@ -835,7 +835,7 @@ static int __net_init dnetmap_proc_net_init(struct net *net)
static void __net_exit dnetmap_proc_net_exit(struct net *net)
{
proc_net_remove(net, "xt_DNETMAP");
remove_proc_entry("xt_DNETMAP", net->proc_net);
}
#else