]> Pileus Git - ~andy/linux/commit
ipv6: recursive check rt->dst.from when call rt6_check_expired
authorLi RongQing <roy.qing.li@gmail.com>
Thu, 13 Sep 2012 19:54:57 +0000 (19:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Sep 2012 19:35:33 +0000 (15:35 -0400)
commit3fd91fb35847a8b3287f00970efc069de16df8b4
tree2512b1a45c9b18b4e31bb894c8f0c1d134426b0b
parentb40863c667c16b7a73d4f034a8eab67029b5b15a
ipv6: recursive check rt->dst.from when call rt6_check_expired

If dst cache dst_a copies from dst_b, and dst_b copies from dst_c, check
if dst_a is expired or not, we should not end with dst_a->dst.from, dst_b,
we should check dst_c.

CC: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c