From: Zach Brown Date: Mon, 10 Apr 2006 23:05:34 +0000 (-0700) Subject: [IPv6] reassembly: Always compute hash under the fragment lock. X-Git-Tag: v2.6.17-rc2~82^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6596f9d2b4f0255f6cd68c76b85fe4cec6352af;p=pandora-kernel.git [IPv6] reassembly: Always compute hash under the fragment lock. This closes a race where an ipq6hashfn() caller could get a hash value and race with the cycling of the random seed. By the time they got to the read_lock they'd have a stale hash value and might not find previous fragments of their datagram. This matches the previous patch to IPv4. Signed-off-by: Zach Brown Signed-off-by: David S. Miller --- Reading git-diff-tree failed