Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368310 Details for
Bug 498740
app-emulation/vmware-modules-279.1 with kernel 3.13 and netfilter support - ?
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for kernel-3.13 with netfilter
vmware-313.patch (text/plain), 962 bytes, created by
Harris Landgarten
on 2014-01-21 01:57:37 UTC
(
hide
)
Description:
patch for kernel-3.13 with netfilter
Filename:
MIME Type:
Creator:
Harris Landgarten
Created:
2014-01-21 01:57:37 UTC
Size:
962 bytes
patch
obsolete
>--- vmnet-only/filter.c 2013-10-18 15:11:55.000000000 -0400 >+++ vmnet-only/filter.c 2014-01-20 20:44:31.000000000 -0500 >@@ -203,7 +203,11 @@ > #endif > > static unsigned int >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) > VNetFilterHookFn(unsigned int hooknum, // IN: >+#else >+ VNetFilterHookFn(const struct nf_hook_ops *ops, // IN: >+#endif > #ifdef VMW_NFHOOK_USES_SKB > struct sk_buff *skb, // IN: > #else >@@ -252,7 +256,13 @@ > > /* 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); >+ >+ >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0) >+ transmit = (hooknum == VMW_NF_INET_POST_ROUTING); >+#else >+ transmit = (ops->hooknum == VMW_NF_INET_POST_ROUTING); >+#endif > > packetHeader = compat_skb_network_header(skb); > ip = (struct iphdr*)packetHeader;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 498740
: 368310