Re: [PATCH] AX.25: Fix sysctl registration if !CONFIG_AX25_DAMA_SLAVE

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Al Viro <viro@...>
Cc: David Miller <davem@...>, <ralf@...>, <stable@...>, <netdev@...>, <linux-hams@...>, <thomas@...>, <jann@...>, <dl5di@...>
Date: Tuesday, August 5, 2008 - 10:35 pm

On Wed, 6 Aug 2008, Al Viro wrote:

ed to
some

Please hold, still working on this.


I think that instead of adding an empty nf_net_netfilter_sysctl_path=20
registration, it would be better to fix the order of register/unregister:

@@ -1032,10 +1032,10 @@
         nf_ct_free_hashtable(nf_conntrack_hash, nf_conntrack_vmalloc,
                              nf_conntrack_htable_size);

-       nf_conntrack_proto_fini();
-       nf_conntrack_helper_fini();
-       nf_conntrack_expect_fini();
         nf_conntrack_acct_fini();
+       nf_conntrack_expect_fini();
+       nf_conntrack_helper_fini();
+       nf_conntrack_proto_fini();
  }

I have a patch ready, only need to make some more tests.

Best regards,

 =09=09=09=09Krzysztof Ol=EAdzki
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] AX.25: Fix sysctl registration if !CONFIG_AX25_D..., Krzysztof Oledzki, (Tue Aug 5, 10:35 pm)