commit | 7011687f0f2f12cc348f6a693fafe63d89167eac | [log] [tgz] |
---|---|---|
author | Gao feng <omarapazanadi@gmail.com> | Fri Oct 28 02:46:57 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Oct 28 16:36:07 2011 -0400 |
tree | c5e546044c5ff88b4abafc28df19e8b7ba951a7e | |
parent | 504744e4edc24f6f16eed44a59b39bffcc0c1391 [diff] |
ipv6: fix route error binding peer in func icmp6_dst_alloc in func icmp6_dst_alloc,dst_metric_set call ipv6_cow_metrics to set metric. ipv6_cow_metrics may will call rt6_bind_peer to set rt6_info->rt6i_peer. So,we should move ipv6_addr_copy before dst_metric_set to make sure rt6_bind_peer success. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>