diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-02-17 23:29:30 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-17 23:29:30 -0800 |
commit | b791160b5af4ea95c72fb59d13079664beca1963 (patch) | |
tree | 7c5b3e4d4875c002c8315c05ced0e16392eb2a30 /net/8021q | |
parent | 82453021b8be85171350c695d7ebafe7b517c812 (diff) | |
download | linux-3.10-b791160b5af4ea95c72fb59d13079664beca1963.tar.gz linux-3.10-b791160b5af4ea95c72fb59d13079664beca1963.tar.bz2 linux-3.10-b791160b5af4ea95c72fb59d13079664beca1963.zip |
[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 <sdecugis@hongo.wide.ad.jp>.
We could convert bydst from hlist to list and use list_add_tail()
instead.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Sebastien Decugis <sdecugis@hongo.wide.ad.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
0 files changed, 0 insertions, 0 deletions