From: William Allen Simpson Date: Wed, 2 Dec 2009 18:12:09 +0000 (+0000) Subject: TCPCT part 1b: generate Responder Cookie secret X-Git-Tag: v2.6.33-rc1~388^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da5c78c82629a167794436e4306b4cf1faddea90;p=pandora-kernel.git TCPCT part 1b: generate Responder Cookie secret Define (missing) hash message size for SHA1. Define hashing size constants specific to TCP cookies. Add new function: tcp_cookie_generator(). Maintain global secret values for tcp_cookie_generator(). This is a significantly revised implementation of earlier (15-year-old) Photuris [RFC-2522] code for the KA9Q cooperative multitasking platform. Linux RCU technique appears to be well-suited to this application, though neither of the circular queue items are freed. These functions will also be used in subsequent patches that implement additional features. Signed-off-by: William.Allen.Simpson@gmail.com Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed