All of lore.kernel.org
 help / color / mirror / Atom feed
* xt_MARK useless line
@ 2006-12-29 16:54 Jan Engelhardt
  2007-01-07 14:15 ` Harald Welte
  0 siblings, 1 reply; 8+ messages in thread
From: Jan Engelhardt @ 2006-12-29 16:54 UTC (permalink / raw)
  To: Netfilter Developer Mailing List

Hi,


in linux-2.6.20-rc2/net/netfilter/xt_MARK.c one can find

        if((*pskb)->mark != markinfo->mark)
                (*pskb)->mark = markinfo->mark;

would not it be simpler just to set the mark? Or are comparison-jumps 
like these 'cheaper' than assignments? (I don't think so.)

	-`J'
-- 

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

end of thread, other threads:[~2007-01-10 15:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-29 16:54 xt_MARK useless line Jan Engelhardt
2007-01-07 14:15 ` Harald Welte
2007-01-07 15:14   ` Jan Engelhardt
2007-01-08  0:23     ` Philip Craig
2007-01-10  5:53       ` Patrick McHardy
2007-01-10 11:03         ` Jan Engelhardt
2007-01-10 11:12         ` Jan Engelhardt
2007-01-10 15:42           ` 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.