[IPV6] NEIGH: Optimize is_router check.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 28 Mar 2008 04:37:58 +0000 (13:37 +0900)
committerYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Fri, 28 Mar 2008 05:00:06 +0000 (14:00 +0900)
commit0736ffc04eec239cce9fd3c6ae5dce54e14c25c7
treee599e32748d4a96578850d089e4da0d277ae8785
parentbe01d655d9b07c1350b19bf3d80eae0059254b4b
[IPV6] NEIGH: Optimize is_router check.

Our interest is not the whole entry of proxy neighbor but the
NTF_ROUTER flag.  Let's test it explicitly.

Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/ndisc.c