]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[IPV4] ip_fragment: Always compute hash with ipfrag_lock held.
authorDavid S. Miller <davem@davemloft.net>
Sun, 17 Dec 2006 20:37:17 +0000 (21:37 +0100)
committerAdrian Bunk <bunk@stusta.de>
Sun, 17 Dec 2006 20:37:17 +0000 (21:37 +0100)
commit862c29977ccf45acc4dcbad952deef30d4013141
treead55a3efe89ba664d96a3a9c744eea42e00c582f
parent4adf3c785f91eda9b5a9706200d2e1c9554a0318
[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>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv4/ip_fragment.c