Skip to contentSkip to conversation

netfilter listhelp.c: fix erroneous (const)

PATCH Applied Harald Welte 2 participants 2 messages Feb 20, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netfilter listhelp.c: fix erroneous (const)

Hi Dave!

Please apply the following fix to your 2.4.x tree, it fixes an erroneous 'const' qualifier introduced by one of our last patches.

A 2.6.x re-sync (probably the last one that syncs from 2.4 to 2.6 and not the other way around) will follow in a couple of minutes.

Thanks.

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
include/linux/netfilter_ipv4/listhelp.h +1 -1
@@ -28,7 +28,7 @@
 							\
 	ASSERT_WRITE_LOCK(head);			\
 	list_for_each(__i, (head))			\
-		if (cmpfn((const type)__i , ## args)) {	\
+		if (cmpfn((type)__i , ## args)) {	\
 			__j = __i;			\
 			break;				\
 		}					\
#1 lore raw
Quoted 2 lines · On Fri, 20 Feb 2004 19:28:18 +0100 Harald Welte <[email protected]> wrote:

Please apply the following fix to your 2.4.x tree, it fixes an erroneous 'const' qualifier introduced by one of our last patches.

Applied, thanks.

Quoted 2 lines

A 2.6.x re-sync (probably the last one that syncs from 2.4 to 2.6 and not the other way around) will follow in a couple of minutes.

Bring it on :-)