lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 13 Jan 2010 05:48:20 -0500
From:	William Allen Simpson <>
To:	Linux Kernel Developers <>
CC:	Linux Kernel Network Developers <>,
	Ilpo Järvinen <>,
	Eric Dumazet <>,
	Andi Kleen <>
Subject: [PATCH v4] tcp: harmonize tcp_vx_rcv header length assumptions

Harmonize tcp_v4_rcv() and tcp_v6_rcv() -- better document tcp doff
and header length assumptions.

Reduces multiply/shifts, marginally improving speed.

Removes redundant tcp header length checks before checksumming.

Instead, assumes (and documents) that any backlog processing and
transform policies will carefully preserve the header, and will
ensure the socket buffer length remains >= the header size.

Stand-alone patch, originally developed for TCPCT.

  include/net/xfrm.h  |    7 ++++++
  net/ipv4/tcp_ipv4.c |   38 +++++++++++++++++++--------------
  net/ipv6/tcp_ipv6.c |   58 ++++++++++++++++++++++++++++----------------------
  3 files changed, 61 insertions(+), 42 deletions(-)

View attachment "len_th+3v4.patch" of type "text/plain" (7657 bytes)

Powered by blists - more mailing lists