Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 124402 Details for
Bug 184808
net-firewall/ipp2p-0.8.2-r3 doesn't work with kernel 2.6.22
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch fixed compatibility problem with kernel 2.6.22
ipp2p-0.8.2-kernel-2.6.22.patch (text/plain), 484 bytes, created by
Yakov Suraev
on 2007-07-10 09:02:29 UTC
(
hide
)
Description:
Patch fixed compatibility problem with kernel 2.6.22
Filename:
MIME Type:
Creator:
Yakov Suraev
Created:
2007-07-10 09:02:29 UTC
Size:
484 bytes
patch
obsolete
>--- ipt_ipp2p.c.orig 2007-07-10 05:17:34.000000000 +1100 >+++ ipt_ipp2p.c 2007-07-10 05:21:48.000000000 +1100 >@@ -748,7 +748,11 @@ > { > const struct ipt_p2p_info *info = matchinfo; > unsigned char *haystack; >+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22) >+ struct iphdr *ip = ip_hdr(skb); >+#else > struct iphdr *ip = skb->nh.iph; >+#endif > int p2p_result = 0, i = 0; > // int head_len; > int hlen = ntohs(ip->tot_len)-(ip->ihl*4); /*hlen = packet-data length*/
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 184808
: 124402