2007-06-12 03:19:07 UTC
Sorry, I did not answer to your questions in the previous message.
Q1) correct. Patch and install the new kernel first and then compile new iptables. Commands and libraries will be installed in /usr/local/ (/usr/local/sbin/iptables etc.) by default and will not overwrite existing iptables command if it is located in/sbin/iptables.
Q2) It looks like you put the diff file in the kernel tree or ran patch command twice by mistake. The diff file should NOT be in the kernel source dir (for example in your home directory is OK).
Please make sure you have a clean kernel source before trying again.
Note that some times kernel source from a Linux distribution is slightly
modified and patch may complain. *.rej file stores rejected parts and you can still manually edit corresponding files to be patched by carefully cut and paste the rejected parts.
Hope this helps,
Kunio