* Re: [PATCH] dead code elimination in ip6_queue.c
@ 2003-03-26 19:38 Stephane Ouellette
2003-03-27 13:08 ` Harald Welte
0 siblings, 1 reply; 6+ messages in thread
From: Stephane Ouellette @ 2003-03-26 19:38 UTC (permalink / raw)
To: netfilter-devel; +Cc: laforge, jmorris
Harald,
I have been notified by James Morris that my patch is incorrect
because of a macro named NLMSG_PUT() which uses the code I have removed
in my patch. There is a goto statement inside this macro.
Regards,
Stephane Ouellette
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] dead code elimination in ip6_queue.c
2003-03-26 19:38 [PATCH] dead code elimination in ip6_queue.c Stephane Ouellette
@ 2003-03-27 13:08 ` Harald Welte
0 siblings, 0 replies; 6+ messages in thread
From: Harald Welte @ 2003-03-27 13:08 UTC (permalink / raw)
To: Stephane Ouellette; +Cc: netfilter-devel, jmorris
[-- Attachment #1: Type: text/plain, Size: 787 bytes --]
On Wed, Mar 26, 2003 at 02:38:31PM -0500, Stephane Ouellette wrote:
> Harald,
>
> I have been notified by James Morris that my patch is incorrect
> because of a macro named NLMSG_PUT() which uses the code I have removed
> in my patch. There is a goto statement inside this macro.
Yes, I've read that mail a couple of minutes later. Please ignore my
response.
> Regards,
> Stephane Ouellette
--
- Harald Welte <laforge@netfilter.org> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] dead code elimination in ip6_queue.c
@ 2003-03-15 18:01 Stephane Ouellette
2003-03-16 0:54 ` James Morris
2003-03-26 14:45 ` Harald Welte
0 siblings, 2 replies; 6+ messages in thread
From: Stephane Ouellette @ 2003-03-15 18:01 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 86 bytes --]
Folks,
the following patch removes dead code in ip6_queue.c
Stephane Ouellette.
[-- Attachment #2: ip6_queue.c.patch --]
[-- Type: text/plain, Size: 443 bytes --]
--- linux-2.4.21-pre5-ac3/net/ipv6/netfilter/ip6_queue.c Fri Mar 14 15:16:44 2003
+++ linux-2.4.21-pre5-ac3-fixed/net/ipv6/netfilter/ip6_queue.c Sat Mar 15 12:58:50 2003
@@ -265,8 +265,6 @@
return skb;
nlmsg_failure:
- if (skb)
- kfree_skb(skb);
*errp = -EINVAL;
printk(KERN_ERR "ip6_queue: error creating packet message\n");
return NULL;
@@ -730,7 +728,6 @@
static int __init init(void)
{
-
return init_or_cleanup(1);
}
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH] dead code elimination in ip6_queue.c
2003-03-15 18:01 Stephane Ouellette
@ 2003-03-16 0:54 ` James Morris
2003-03-17 4:47 ` Stephane Ouellette
2003-03-26 14:45 ` Harald Welte
1 sibling, 1 reply; 6+ messages in thread
From: James Morris @ 2003-03-16 0:54 UTC (permalink / raw)
To: Stephane Ouellette; +Cc: netfilter-devel
On Sat, 15 Mar 2003, Stephane Ouellette wrote:
> Folks,
>
> the following patch removes dead code in ip6_queue.c
>
Incorrect, see NLMSG_PUT().
- James
--
James Morris
<jmorris@intercode.com.au>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dead code elimination in ip6_queue.c
2003-03-16 0:54 ` James Morris
@ 2003-03-17 4:47 ` Stephane Ouellette
0 siblings, 0 replies; 6+ messages in thread
From: Stephane Ouellette @ 2003-03-17 4:47 UTC (permalink / raw)
To: James Morris; +Cc: netfilter-devel
James Morris wrote:
>On Sat, 15 Mar 2003, Stephane Ouellette wrote:
>
>
>
>>Folks,
>>
>> the following patch removes dead code in ip6_queue.c
>>
>>
>>
>
>Incorrect, see NLMSG_PUT().
>
>
>- James
>
>
James,
I'm sorry. I didn't check the macros...
Thank you for pointing my mistake.
Stephane
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] dead code elimination in ip6_queue.c
2003-03-15 18:01 Stephane Ouellette
2003-03-16 0:54 ` James Morris
@ 2003-03-26 14:45 ` Harald Welte
1 sibling, 0 replies; 6+ messages in thread
From: Harald Welte @ 2003-03-26 14:45 UTC (permalink / raw)
To: Stephane Ouellette; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 647 bytes --]
On Sat, Mar 15, 2003 at 01:01:05PM -0500, Stephane Ouellette wrote:
> Folks,
>
> the following patch removes dead code in ip6_queue.c
the same code is in ip_queue.c. I've created a new patch for the
'pending' repository fixing both cases.
> Stephane Ouellette.
--
- Harald Welte <laforge@netfilter.org> 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
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-03-27 13:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-26 19:38 [PATCH] dead code elimination in ip6_queue.c Stephane Ouellette
2003-03-27 13:08 ` Harald Welte
-- strict thread matches above, loose matches on Subject: below --
2003-03-15 18:01 Stephane Ouellette
2003-03-16 0:54 ` James Morris
2003-03-17 4:47 ` Stephane Ouellette
2003-03-26 14:45 ` Harald Welte
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.