aboutsummaryrefslogtreecommitdiffstats
path: root/net/ax25
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-04-23 23:14:36 -0400
committerDavid S. Miller <davem@davemloft.net>2012-04-23 23:15:17 -0400
commitf24001941c99776f41bd3f09c07d91205c2ad9d4 (patch)
tree0ab31480ccdf343b61db045e195d096068ef7c73 /net/ax25
parenta108d5f35adc5c5d5cdc882dc0bb920565551bff (diff)
parent4d634ca35a8b38530b134ae92bc9e3cc9c23c030 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Fix merge between commit 3adadc08cc1e ("net ax25: Reorder ax25_exit to remove races") and commit 0ca7a4c87d27 ("net ax25: Simplify and cleanup the ax25 sysctl handling") The former moved around the sysctl register/unregister calls, the later simply removed them. With help from Stephen Rothwell. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ax25')
-rw-r--r--net/ax25/af_ax25.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ax25/af_ax25.c b/net/ax25/af_ax25.c
index 282eb76bc7d6..051f7abae66d 100644
--- a/net/ax25/af_ax25.c
+++ b/net/ax25/af_ax25.c
@@ -2010,9 +2010,6 @@ static void __exit ax25_exit(void)
2010 proc_net_remove(&init_net, "ax25_route"); 2010 proc_net_remove(&init_net, "ax25_route");
2011 proc_net_remove(&init_net, "ax25"); 2011 proc_net_remove(&init_net, "ax25");
2012 proc_net_remove(&init_net, "ax25_calls"); 2012 proc_net_remove(&init_net, "ax25_calls");
2013 ax25_rt_free();
2014 ax25_uid_free();
2015 ax25_dev_free();
2016 2013
2017 unregister_netdevice_notifier(&ax25_dev_notifier); 2014 unregister_netdevice_notifier(&ax25_dev_notifier);
2018 2015
@@ -2020,5 +2017,9 @@ static void __exit ax25_exit(void)
2020 2017
2021 sock_unregister(PF_AX25); 2018 sock_unregister(PF_AX25);
2022 proto_unregister(&ax25_proto); 2019 proto_unregister(&ax25_proto);
2020
2021 ax25_rt_free();
2022 ax25_uid_free();
2023 ax25_dev_free();
2023} 2024}
2024module_exit(ax25_exit); 2025module_exit(ax25_exit);