diff options
author | Gao feng <omarapazanadi@gmail.com> | 2011-10-28 02:46:57 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-11 09:43:39 -0800 |
commit | 7d1be381b53d55d3a0ff0565922d29420985a3fe (patch) | |
tree | 261d01227f644d8e875b9f26976c8dbecf31eb10 /mm | |
parent | 9dcc771f0944de26f5ad73edffe7f9c4985e3f6c (diff) |
ipv6: fix route error binding peer in func icmp6_dst_alloc
[ Upstream commit 7011687f0f2f12cc348f6a693fafe63d89167eac ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions