[IPV4] ip_fragment: Always compute hash with ipfrag_lock held.
authorDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:43:55 +0000 (22:43 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 10 Apr 2006 05:43:55 +0000 (22:43 -0700)
commit55c0022e53452360064ea264c41410c70565d9f8
treecca5e75b12dfaaadf5620b59c7121a017a799117
parent19910d1aec0b2b96ff4b4a93e2aed0d32643e850
[IPV4] ip_fragment: Always compute hash with ipfrag_lock held.

Otherwise we could compute an inaccurate hash due to the
random seed changing.

Noticed by Zach Brown and patch is based upon some feedback
from Herbert Xu.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_fragment.c