gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-developers] [PATCH] tcp_stealth: fix link errors when ipv6 is a


From: Alexander Holler
Subject: [GNUnet-developers] [PATCH] tcp_stealth: fix link errors when ipv6 is a module
Date: Mon, 18 Aug 2014 16:45:51 +0200

Signed-off-by: Alexander Holler <address@hidden>
---
 net/core/secure_seq.c | 2 ++
 net/ipv4/tcp_input.c  | 3 +++
 2 files changed, 5 insertions(+)

diff --git a/net/core/secure_seq.c b/net/core/secure_seq.c
index 4f1a61c..f13db6e 100644
--- a/net/core/secure_seq.c
+++ b/net/core/secure_seq.c
@@ -78,6 +78,7 @@ u32 tcp_stealth_sequence_number(struct sock *sk, __be32 
*daddr, u32 daddr_size,
 
        return be32_to_cpu(isn);
 }
+EXPORT_SYMBOL(tcp_stealth_sequence_number);
 
 u32 tcp_stealth_do_auth(struct sock *sk, struct sk_buff *skb)
 {
@@ -126,6 +127,7 @@ u32 tcp_stealth_do_auth(struct sock *sk, struct sk_buff 
*skb)
 
        return 1;
 }
+EXPORT_SYMBOL(tcp_stealth_do_auth);
 #endif
 
 #if IS_ENABLED(CONFIG_IPV6)
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c
index b66e225..e504e8c 100644
--- a/net/ipv4/tcp_input.c
+++ b/net/ipv4/tcp_input.c
@@ -76,6 +76,9 @@
 #include <net/netdma.h>
 
 int sysctl_tcp_timestamps __read_mostly = 1;
+#ifdef CONFIG_TCP_STEALTH
+EXPORT_SYMBOL(sysctl_tcp_timestamps);
+#endif
 int sysctl_tcp_window_scaling __read_mostly = 1;
 int sysctl_tcp_sack __read_mostly = 1;
 int sysctl_tcp_fack __read_mostly = 1;
-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]