commit | f6596f9d2b4f0255f6cd68c76b85fe4cec6352af | [log] [tgz] |
---|---|---|
author | Zach Brown <zach.brown@oracle.com> | Mon Apr 10 16:05:34 2006 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Tue Apr 11 17:21:05 2006 -0700 |
tree | 6e95cca360198b2e546904d17760ba71d1dc5ee8 | |
parent | a145410dccdb44f81d3b56763ef9b6f721f4e47c [diff] |
[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 <zach.brown@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>