Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376596 Details for
Bug 508612
app-emulation/vmware-modules-271.3 - Failed Patch: 271-3.10.0.patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for vmnet
271-vmnet-3.14.patch (text/plain), 1.08 KB, created by
gunainmnoaodann
on 2014-05-09 00:37:07 UTC
(
hide
)
Description:
patch for vmnet
Filename:
MIME Type:
Creator:
gunainmnoaodann
Created:
2014-05-09 00:37:07 UTC
Size:
1.08 KB
patch
obsolete
>--- vmnet-only/filter.c 2013-10-18 23:11:55.000000000 +0400 >+++ vmnet-only/filter.c 2013-12-03 04:16:31.751352170 +0400 >@@ -27,6 +27,7 @@ > #include "compat_module.h" > #include <linux/mutex.h> > #include <linux/netdevice.h> >+#include <linux/version.h> > #if COMPAT_LINUX_VERSION_CHECK_LT(3, 2, 0) > # include <linux/module.h> > #else >@@ -203,7 +204,11 @@ > #endif > > static unsigned int >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 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 +252,12 @@ > > /* When the host transmits, hooknum is VMW_NF_INET_POST_ROUTING. */ > /* When the host receives, hooknum is VMW_NF_INET_LOCAL_IN. */ >+ >+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 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 508612
:
375620
|
375622
|
375732
|
375734
|
375736
|
375742
|
375776
|
376582
| 376596 |
383526
|
384720