]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: unneccessary to get address prefix in addrconf_get_prefix_route
authorLi RongQing <roy.qing.li@gmail.com>
Mon, 23 Dec 2013 01:32:38 +0000 (09:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2013 18:37:46 +0000 (13:37 -0500)
commit914f9f165402ef4dc8a13fccf3ca4570caa2442d
tree1b2bcc4aba73b48f7f320a8cee203bd0929d7554
parent2fa46931d6dea5da07cac99f39195eb49cd9f7f5
ipv6: unneccessary to get address prefix in addrconf_get_prefix_route

Since addrconf_get_prefix_route inputs the address prefix to fib6_locate,
which does not uses the data which is out of the prefix_len length,
so do not need to use ipv6_addr_prefix to get address prefix.

Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c