Duan Jiong 249a3630c4 ipv6: drop the judgement in rt6_alloc_cow()
Now rt6_alloc_cow() is only called by ip6_pol_route() when
rt->rt6i_flags doesn't contain both RTF_NONEXTHOP and RTF_GATEWAY,
and rt->rt6i_flags hasn't been changed in ip6_rt_copy().
So there is no neccessary to judge whether rt->rt6i_flags contains
RTF_GATEWAY or not.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-11-05 22:17:05 -05:00
..
2013-10-28 20:07:50 -04:00
2013-09-11 16:16:29 -04:00
2013-10-21 18:49:39 -04:00
2013-10-28 20:07:50 -04:00
2013-10-09 00:01:25 -04:00
2013-10-09 00:01:25 -04:00
2013-10-21 18:49:39 -04:00
2013-10-18 13:38:39 -04:00
2013-05-11 16:26:38 -07:00