summarylogtreecommitdiffstats
path: root/vmnet-10.0.1-3.13.patch
diff options
context:
space:
mode:
authorDet2015-06-14 04:13:28 +0300
committerDet2015-06-14 04:14:16 +0300
commitdae87d2d534f6345098058d668a860d4c061e0ae (patch)
treeb42c9739f8ef85031cf1445f8dc6d0c7f2a00f83 /vmnet-10.0.1-3.13.patch
downloadaur-dae87d2d534f6345098058d668a860d4c061e0ae.tar.gz
Initial import: 11.1.0-5
Diffstat (limited to 'vmnet-10.0.1-3.13.patch')
-rw-r--r--vmnet-10.0.1-3.13.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/vmnet-10.0.1-3.13.patch b/vmnet-10.0.1-3.13.patch
new file mode 100644
index 000000000000..03964ad2055e
--- /dev/null
+++ b/vmnet-10.0.1-3.13.patch
@@ -0,0 +1,21 @@
+diff -u vmnet-only.a/filter.c vmnet-only/filter.c
+--- vmnet-only.a/filter.c 2014-04-02 21:34:26.935944394 +0300
++++ vmnet-only/filter.c 2013-10-18 22:11:55.000000000 +0300
+@@ -203,7 +203,7 @@
+ #endif
+
+ static unsigned int
+-VNetFilterHookFn(unsigned int hooknum, // IN:
++VNetFilterHookFn(const struct nf_hook_ops *ops, // IN:
+ #ifdef VMW_NFHOOK_USES_SKB
+ struct sk_buff *skb, // IN:
+ #else
+@@ -252,7 +252,7 @@
+
+ /* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */
+ /* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */
+- transmit = (hooknum == VMW_NF_INET_POST_ROUTING);
++ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING);
+
+ packetHeader = compat_skb_network_header(skb);
+ ip = (struct iphdr*)packetHeader;