AJM wrote:> Hi, > > I'm having trouble applying ebtables-brnf-3_vs_2.4.22.diff to > 2.4.22-1.2166.nptl. Applying the patch did not go well. Can anyone help me > with this? TIA. > > AndyI think you are running into Red Hat's backporting feature. Please read http://www.redhat.com/advice/speaks_backport.html. The key point is this "We can't please everyone, and backporting annoys some users who always want to be upgraded to the latest and greatest releases. However, in general, customers are more interested in stability, and the ability to minimise the changes needed for their QA and deployment. A patch is made for a specific kernel set of sources. Red Hat Fedora has applied various patchs in an order that the ebtables patch was not designed for. The patch may or may not have worked on an earlier kernel. FC1 just released a security fix today so the current kernel rpm is kernel-2.4.22-1.2174... Fedora is all about community involvement http://fedora.redhat.com/participate/. They would like you to raise bugzilla bugs to ask for new features. Why don't you raise a bug so that your desire to have ebtables-brnf-3_vs_2.4.22 patch in the 2.4 kernels series is made known? However, FC2 test 1 is available with the 2.6 kernel http://download.fedora.redhat.com/pub/fedora/linux/core/test/1.90/i386/. This release may still not have the ebtables code that you are looking for. I hope this helps. I had a similar experience with LIS streams and Red Hat 7.3. After the second kernel rpm, the LIS patch no longer compiled. Regards, Greg Morgan
Hi, I'm having trouble applying ebtables-brnf-3_vs_2.4.22.diff to 2.4.22-1.2166.nptl. Applying the patch did not go well. Can anyone help me with this? TIA. Andy Here is the output: [root@specwall linux-2.4.22-1.2166.nptl]# patch -p1 < ../ebtables-brnf-3_vs_2.4.22.diff patching file net/bridge/br_private.h Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 3 out of 3 hunks ignored -- saving rejects to file net/bridge/br_private.h.rej patching file include/linux/if_bridge.h patching file net/core/dev.c Hunk #1 succeeded at 1433 (offset 7 lines). Hunk #3 FAILED at 1502. 1 out of 3 hunks FAILED -- saving rejects to file net/core/dev.c.rej patching file net/bridge/br_input.c Hunk #2 FAILED at 49. 1 out of 4 hunks FAILED -- saving rejects to file net/bridge/br_input.c.rej patching file net/bridge/br_forward.c Hunk #1 FAILED at 30. Hunk #2 FAILED at 52. Hunk #3 FAILED at 67. 3 out of 3 hunks FAILED -- saving rejects to file net/bridge/br_forward.c.rej patching file net/bridge/br.c Hunk #2 succeeded at 48 with fuzz 2 (offset 3 lines). Hunk #3 FAILED at 70. Hunk #4 succeeded at 85 (offset 2 lines). 1 out of 4 hunks FAILED -- saving rejects to file net/bridge/br.c.rej patching file net/bridge/Makefile Hunk #1 FAILED at 7. 1 out of 1 hunk FAILED -- saving rejects to file net/bridge/Makefile.rej patching file include/linux/netfilter_bridge.h patching file net/Makefile Hunk #1 FAILED at 7. Hunk #2 FAILED at 27. 2 out of 2 hunks FAILED -- saving rejects to file net/Makefile.rej patching file net/Config.in Hunk #1 succeeded at 66 with fuzz 1 (offset 1 line). patching file net/bridge/netfilter/Makefile patching file net/bridge/netfilter/Config.in patching file net/bridge/netfilter/ebtable_filter.c patching file net/bridge/netfilter/ebtable_nat.c patching file net/bridge/netfilter/ebtable_broute.c patching file net/bridge/netfilter/ebt_among.c patching file net/bridge/netfilter/ebt_limit.c patching file net/bridge/netfilter/ebt_arpreply.c patching file net/bridge/netfilter/ebt_802_3.c patching file net/bridge/netfilter/ebt_mark.c patching file net/bridge/netfilter/ebt_mark_m.c patching file net/bridge/netfilter/ebt_pkttype.c patching file net/bridge/netfilter/ebt_stp.c patching file net/bridge/netfilter/ebt_redirect.c patching file net/bridge/netfilter/ebt_arp.c patching file net/bridge/netfilter/ebt_ip.c patching file net/bridge/netfilter/ebt_vlan.c patching file net/bridge/netfilter/ebt_log.c patching file net/bridge/netfilter/ebt_snat.c patching file net/bridge/netfilter/ebt_dnat.c patching file net/bridge/netfilter/ebtables.c patching file include/linux/netfilter_bridge/ebtables.h patching file include/linux/netfilter_bridge/ebt_among.h patching file include/linux/netfilter_bridge/ebt_limit.h patching file include/linux/netfilter_bridge/ebt_arpreply.h patching file include/linux/netfilter_bridge/ebt_802_3.h patching file include/linux/netfilter_bridge/ebt_arp.h patching file include/linux/netfilter_bridge/ebt_ip.h patching file include/linux/netfilter_bridge/ebt_pkttype.h patching file include/linux/netfilter_bridge/ebt_stp.h patching file include/linux/netfilter_bridge/ebt_vlan.h patching file include/linux/netfilter_bridge/ebt_log.h patching file include/linux/netfilter_bridge/ebt_nat.h patching file include/linux/netfilter_bridge/ebt_redirect.h patching file include/linux/netfilter_bridge/ebt_mark_m.h patching file include/linux/netfilter_bridge/ebt_mark_t.h patching file include/linux/netfilter.h Hunk #1 FAILED at 118. 1 out of 1 hunk FAILED -- saving rejects to file include/linux/netfilter.h.rej patching file include/linux/netfilter_ipv4.h Hunk #1 FAILED at 52. 1 out of 1 hunk FAILED -- saving rejects to file include/linux/netfilter_ipv4.h.rej patching file include/linux/skbuff.h Hunk #3 succeeded at 1188 (offset 2 lines). patching file net/core/netfilter.c Reversed (or previously applied) patch detected! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 7 out of 7 hunks ignored -- saving rejects to file net/core/netfilter.c.rej patching file net/core/skbuff.c patching file net/ipv4/netfilter/ip_tables.c Hunk #1 FAILED at 121. Hunk #2 FAILED at 163. Hunk #3 FAILED at 184. Hunk #4 FAILED at 291. Hunk #5 FAILED at 303. Hunk #6 FAILED at 345. 6 out of 6 hunks FAILED -- saving rejects to file net/ipv4/netfilter/ip_tables.c.rej patching file net/ipv4/ip_output.c Hunk #1 succeeded at 884 (offset 2 lines). patching file net/ipv4/netfilter/ipt_LOG.c Hunk #1 FAILED at 289. 1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/netfilter/ipt_LOG.c.rej patching file net/ipv4/netfilter/Makefile patching file net/ipv4/netfilter/Config.in The next patch would create the file net/bridge/br_netfilter.c, which already exists! Assume -R? [n] n Apply anyway? [n] n Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file net/bridge/br_netfilter.c.rej patching file net/ipv4/netfilter/ipt_physdev.c patching file include/linux/netfilter_ipv4/ipt_physdev.h patching file net/8021q/vlan_dev.c Hunk #1 succeeded at 507 (offset 4 lines). [root@specwall linux-2.4.22-1.2166.nptl]#
Seemingly Similar Threads
- [Bridge] [PATCH AUTOSEL 4.14 6/8] netfilter: ebtables: fix fortify warnings in size_entry_mwt()
- [Bridge] [PATCH AUTOSEL 6.5 33/45] netfilter: ebtables: fix fortify warnings in size_entry_mwt()
- [Bridge] [PATCH AUTOSEL 6.1 20/26] netfilter: ebtables: fix fortify warnings in size_entry_mwt()
- [Bridge] [PATCH AUTOSEL 6.4 30/41] netfilter: ebtables: fix fortify warnings in size_entry_mwt()
- [Bridge] [PATCH AUTOSEL 5.10 11/14] netfilter: ebtables: fix fortify warnings in size_entry_mwt()