All of lore.kernel.org
 help / color / mirror / Atom feed
* testing checksum in helpers is redundant with tcp_window_tracking
@ 2003-02-27 22:21 netfilter
  2003-02-28  9:04 ` Patrick Schaaf
  2003-02-28 10:33 ` Jozsef Kadlecsik
  0 siblings, 2 replies; 4+ messages in thread
From: netfilter @ 2003-02-27 22:21 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

[-- Attachment #1: Type: text/plain, Size: 564 bytes --]

Would it not be a good idea to have some kind of macro defined when
tcp_window_tracking in built into netfilter so that all of the helpers
and other code that are doing things like TCP checksum verification
and whatnot, can avoid wasting cycles doing it a second time?

Then helpers could wrap their tcp checksum calls with something like:

#ifndef TCP_WINDOW_TRACKING
...
#endif

Or is a runtime check a better idea?  If so what test could be done at
runtime to know that tcp_window_tracking is checking TCP checksums?

b.

-- 
Brian J. Murrell

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2003-02-28 12:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 22:21 testing checksum in helpers is redundant with tcp_window_tracking netfilter
2003-02-28  9:04 ` Patrick Schaaf
2003-02-28 10:33 ` Jozsef Kadlecsik
2003-02-28 12:13   ` netfilter

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.