All of lore.kernel.org
 help / color / mirror / Atom feed
* TCPLAG fix
@ 2005-06-03 19:50 Jan Engelhardt
  2005-06-11 15:08 ` Patrick McHardy
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Engelhardt @ 2005-06-03 19:50 UTC (permalink / raw)
  To: netfilter-devel

Hello list,


here is a small fix for a line I stumbled upon when looking through POM for 
fun. Patch is here.


diff -dpru patch-o-matic-ng-20050602~/TCPLAG/linux/net/ipv4/netfilter/ipt_TCPLAG.c patch-o-matic-ng-20050602/TCPLAG/linux/net/ipv4/netfilter/ipt_TCPLAG.c
--- patch-o-matic-ng-20050602~/TCPLAG/linux/net/ipv4/netfilter/ipt_TCPLAG.c	2003-12-18 19:47:52.000000000 +0100
+++ patch-o-matic-ng-20050602/TCPLAG/linux/net/ipv4/netfilter/ipt_TCPLAG.c	2005-06-03 21:36:24.000000000 +0200
@@ -99,7 +99,7 @@ static void divide_down( timeval_T *T, i
 	T->tv_usec /= c;
 	remainder = T->tv_sec % c; /* Only works properly with positive numbers */
 	remainder *= 1000000;
-	T->tv_usec == remainder;
+	T->tv_usec = remainder;
 	T->tv_sec /= c;
 }
 


Jan Engelhardt                                                               
--                                                                            
| Gesellschaft fuer Wissenschaftliche Datenverarbeitung Goettingen,
| Am Fassberg, 37077 Goettingen, www.gwdg.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: TCPLAG fix
  2005-06-03 19:50 TCPLAG fix Jan Engelhardt
@ 2005-06-11 15:08 ` Patrick McHardy
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-06-11 15:08 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: netfilter-devel

Jan Engelhardt wrote:
> Hello list,
> 
> 
> here is a small fix for a line I stumbled upon when looking through POM for 
> fun. Patch is here.

Applied, thanks.

Regards
Patrick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-11 15:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-03 19:50 TCPLAG fix Jan Engelhardt
2005-06-11 15:08 ` Patrick McHardy

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.