[Devel] [PATCH 4/5] ve/tcp: fix compilation for ve->jiffies_fixup
Dmitry Safonov
dsafonov at odin.com
Mon Jan 18 02:27:52 PST 2016
Fixes following the following error:
In file included from net/core/sock.c:141:0:
include/net/tcp.h: In function ‘tcp_time_stamp’:
include/net/tcp.h:732:30: error: dereferencing pointer to incomplete type ‘struct ve_struct’
return (__u32)(jiffies) + ve->jiffies_fixup;
Signed-off-by: Dmitry Safonov <dsafonov at odin.com>
---
include/net/tcp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 05a5252..031a895 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -30,6 +30,7 @@
#include <linux/crypto.h>
#include <linux/cryptohash.h>
#include <linux/kref.h>
+#include <linux/ve.h>
#include <net/inet_connection_sock.h>
#include <net/inet_timewait_sock.h>
--
2.7.0
More information about the Devel
mailing list