diff options
author | Zach Brown <zach.brown@oracle.com> | 2006-04-10 16:05:34 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-04-11 17:21:05 -0700 |
commit | f6596f9d2b4f0255f6cd68c76b85fe4cec6352af (patch) | |
tree | 6e95cca360198b2e546904d17760ba71d1dc5ee8 /net/tipc/name_distr.c | |
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>
Diffstat (limited to 'net/tipc/name_distr.c')
0 files changed, 0 insertions, 0 deletions