cvs commit: src/sys/netinet/libalias alias_ftp.c alias_irc.c alias_local.h alias_proxy.c alias_skinny.c alias_smedia.c alias_util.c

Gleb Smirnoff glebius at FreeBSD.org
Mon Jun 27 07:36:04 GMT 2005


glebius     2005-06-27 07:36:02 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet/libalias alias_ftp.c alias_irc.c alias_local.h 
                         alias_proxy.c alias_skinny.c 
                         alias_smedia.c alias_util.c 
  Log:
  Disable checksum processing in LibAlias, when it works as a
  kernel module. LibAlias is not aware about checksum offloading,
  so the caller should provide checksum calculation. (The only
  current consumer is ng_nat(4)). When TCP packet internals has
  been changed and it requires checksum recalculation, a cookie
  is set in th_x2 field of TCP packet, to inform caller that it
  needs to recalculate checksum. This ugly hack would be removed
  when LibAlias is made more kernel friendly.
  
  Incremental checksum updates are left as is, since they don't
  conflict with offloading.
  
  Approved by:    re (scottl)
  
  Revision  Changes    Path
  1.27      +4 -0      src/sys/netinet/libalias/alias_ftp.c
  1.21      +4 -0      src/sys/netinet/libalias/alias_irc.c
  1.32      +10 -1     src/sys/netinet/libalias/alias_local.h
  1.26      +4 -0      src/sys/netinet/libalias/alias_proxy.c
  1.12      +12 -2     src/sys/netinet/libalias/alias_skinny.c
  1.15      +8 -1      src/sys/netinet/libalias/alias_smedia.c
  1.18      +8 -8      src/sys/netinet/libalias/alias_util.c


More information about the cvs-src mailing list