From: YOSHIFUJI Hideaki Date: Mon, 18 Feb 2008 07:29:30 +0000 (-0800) Subject: [XFRM]: Fix ordering issue in xfrm_dst_hash_transfer(). X-Git-Tag: v2.6.25-rc3~126^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b791160b5af4ea95c72fb59d13079664beca1963;p=pandora-kernel.git [XFRM]: Fix ordering issue in xfrm_dst_hash_transfer(). Keep ordering of policy entries with same selector in xfrm_dst_hash_transfer(). Issue should not appear in usual cases because multiple policy entries with same selector are basically not allowed so far. Bug was pointed out by Sebastien Decugis . We could convert bydst from hlist to list and use list_add_tail() instead. Signed-off-by: YOSHIFUJI Hideaki Acked-by: Sebastien Decugis Signed-off-by: David S. Miller --- Reading git-diff-tree failed