diff options
Diffstat (limited to 'net/xfrm')
-rw-r--r-- | net/xfrm/xfrm_state.c | 3 | ||||
-rw-r--r-- | net/xfrm/xfrm_user.c | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c index cd1d5e11ee74..037bc8e4d667 100644 --- a/net/xfrm/xfrm_state.c +++ b/net/xfrm/xfrm_state.c | |||
@@ -20,6 +20,9 @@ | |||
20 | #include <linux/module.h> | 20 | #include <linux/module.h> |
21 | #include <asm/uaccess.h> | 21 | #include <asm/uaccess.h> |
22 | 22 | ||
23 | struct sock *xfrm_nl; | ||
24 | EXPORT_SYMBOL(xfrm_nl); | ||
25 | |||
23 | u32 sysctl_xfrm_aevent_etime = XFRM_AE_ETIME; | 26 | u32 sysctl_xfrm_aevent_etime = XFRM_AE_ETIME; |
24 | u32 sysctl_xfrm_aevent_rseqth = XFRM_AE_SEQT_SIZE; | 27 | u32 sysctl_xfrm_aevent_rseqth = XFRM_AE_SEQT_SIZE; |
25 | /* Each xfrm_state may be linked to two tables: | 28 | /* Each xfrm_state may be linked to two tables: |
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c index b46ee7d4dae7..07b71680cde0 100644 --- a/net/xfrm/xfrm_user.c +++ b/net/xfrm/xfrm_user.c | |||
@@ -28,8 +28,6 @@ | |||
28 | #include <net/netlink.h> | 28 | #include <net/netlink.h> |
29 | #include <asm/uaccess.h> | 29 | #include <asm/uaccess.h> |
30 | 30 | ||
31 | struct sock *xfrm_nl; | ||
32 | |||
33 | static int verify_one_alg(struct rtattr **xfrma, enum xfrm_attr_type_t type) | 31 | static int verify_one_alg(struct rtattr **xfrma, enum xfrm_attr_type_t type) |
34 | { | 32 | { |
35 | struct rtattr *rt = xfrma[type - 1]; | 33 | struct rtattr *rt = xfrma[type - 1]; |
@@ -1974,5 +1972,4 @@ module_init(xfrm_user_init); | |||
1974 | module_exit(xfrm_user_exit); | 1972 | module_exit(xfrm_user_exit); |
1975 | MODULE_LICENSE("GPL"); | 1973 | MODULE_LICENSE("GPL"); |
1976 | MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_XFRM); | 1974 | MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_XFRM); |
1977 | EXPORT_SYMBOL(xfrm_nl); | ||
1978 | 1975 | ||