Dear Laszlo, Downloaded and branched the -git kernel tree as you mentioned, but patches does not apply either. (Below is the output) - fails first on the inet_sock.h, and further in route, tcp, udp code. I than manually patched the 2.6.25.4 kernel tree with this patches, applying code to te corresponding places, but than - kernel does not compile. with the following error. Would appreciate any advice, or maybe it would be possible for you to do a cumulative patch against any of the 2.6.24 or 2.6.25 version? Regards, Anton. ---- CC net/core/sock.o In file included from include/net/xfrm.h:19, from net/core/sock.c:125: include/net/route.h: In function ‘inet_iif’: include/net/route.h:215: error: ‘const struct sk_buff’ has no member named ‘rtable make[2]: *** [net/core/sock.o] Error 1 --- -- patching output anton@anton:~/LINUX/linux-2.6$ git checkout -b my-2.6.25 v2.6.25 git checkout: branch my-2.6.25 already exists anton@anton:~/LINUX/linux-2.6$ anton@anton:~/LINUX$ tar cf linux-2.6-git.tar linux-2.6 anton@anton:~/LINUX/linux-2.6$ patch -p1 < 0001-Loosen-source-address-check-on-IPv4-output.patch patching file include/net/flow.h patching file net/ipv4/route.c Hunk #1 succeeded at 2276 (offset -31 lines). Hunk #2 succeeded at 2287 (offset -31 lines). Hunk #3 succeeded at 2310 (offset -31 lines). anton@anton:~/LINUX/linux-2.6$ patch -p1 < 0002* patching file include/linux/in.h patching file include/net/inet_sock.h Hunk #1 succeeded at 129 (offset 1 line). patching file include/net/inet_timewait_sock.h patching file net/ipv4/inet_timewait_sock.c Hunk #1 succeeded at 123 with fuzz 2 (offset -1 lines). patching file net/ipv4/ip_sockglue.c Hunk #2 succeeded at 878 (offset -1 lines). anton@anton:~/LINUX/linux-2.6$ patch -p1 < 0003* patching file net/ipv4/af_inet.c Hunk #1 succeeded at 457 (offset -18 lines). anton@anton:~/LINUX/linux-2.6$ patch -p1 < 0004* patching file include/net/inet_sock.h Hunk #2 FAILED at 191. 1 out of 2 hunks FAILED -- saving rejects to file include/net/inet_sock.h.rej patching file include/net/route.h On Wednesday 14 May 2008 11:54, Laszlo Attila Toth wrote:
Hello,
The following two commands are enough:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li nux-2.6.git cd linux-2.6 git checkout -b my-2.6.24 v2.6.24 or git checkout -b my-2.6.25 v2.6.25
Then you can apply the patches from the latest tproxy-kernel-*bz2 files.