current pom-ng's nfnetlink doesn't apply cleanly to kernel 2.4.22
None of the other patch is applied, only nfnetlink-ctnetlink.
Quoted 1 line
From the nfnetlink's patch, it is supposed that this patch should apply cleanly
to a official linux-2.4.22 kernel, but it isn't. I also tried 2.4.20, 2.4.24, 2.4.25, and current 2.4.26 kernels. Any hint?
Thanks
----
REGARDS
wang,zhi
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
Quoted 4 lines · zhi wang
None of the other patch is applied, only nfnetlink-ctnetlink. From the nfnetlink's patch, it is supposed that this patch should apply cleanly to a official linux-2.4.22 kernel, but it isn't. I also tried 2.4.20, 2.4.24, 2.4.25, and current 2.4.26 kernels. Any hint? [...]
I am using this patch with no big trouble.. had to adjust it a little due to conflicts with other patches applied but just some trivial things..
Maybe the patch does indeed depend on some other patch not listed in the dependencies. Where does it fail? My kernel uses quite many patches..
Regards
Henrik
Quoted 4 lines
Maybe the patch does indeed depend on some other patch not listed in the dependencies. Where does it fail?
I apply the nfnetlink, and the result is as:
Do you want to apply this patch [N/y/t/f/a/r/b/w/q/?] fapply_dependencies: successfully applied netfilter-docbookapply_dependencies: successfully applied nf-logapply_dependencies: successfully applied rawapply_dependencies: unable to apply dependent ctstat: ERROR (2 rejects out of 15 hunks)
There is one .rej file generated: ip_conntrack_core.c.rej. For example, the first several lines of it read:
***************
*** 61,71 ****
static LIST_HEAD(helpers);
unsigned int ip_conntrack_htable_size = 0;
int ip_conntrack_max = 0;
- static atomic_t ip_conntrack_count = ATOMIC_INIT(0);
struct list_head *ip_conntrack_hash;
static kmem_cache_t *ip_conntrack_cachep;
struct ip_conntrack ip_conntrack_untracked;
extern struct ip_conntrack_protocol ip_conntrack_generic_protocol;
static inline int proto_cmpfn(const struct ip_conntrack_protocol *curr,
--- 61,73 ----
......It is because ip_conntrack_max is defined as a static global variable in the original 2.4.22 kernel, maybe some other patches has changed it silently:).
----
Regards
wang,zhi
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
Quoted 2 lines · zhi wang
apply_dependencies: unable to apply dependent ctstat: ERROR (2 rejects out of 15 hunks)
Ok. So it is the ctstat patch you have problems with, not nfnetlink..
This applies without any modifications in my kernel builds, but then again I am also applying a lot of other patches so it is possible this patch does depend on something else.. in addition I am using 2.4.25 and 2.4.26-rc2.. not 2.4.22.
Regards
Henrik
Quoted 1 line
Ok. So it is the ctstat patch you have problems with, not nfnetlink..
It is exactly this ctstat odd. The info file of nfnetlink says:
Repository: extra
Depends: !netfilter-docbook
Depends: !ctstat
which means, if I was right, nfnetlink conflicts with ctstat, but it seems that ./runme apply the ctstat as a dependence :(
---
Regards
wang,zhi
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash