[IPV6]: fix ipv6_saddr_score struct element
commit0d27b42739ee432a66104793e51a23807b372928
authorBrian Haley <brian.haley@hp.com>
Sun, 12 Mar 2006 02:50:14 +0000 (11 18:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 12 Mar 2006 02:50:14 +0000 (11 18:50 -0800)
treed23986eff26122d06f6493029428a8748ff90040
parent0ade309be739eceedc4812798da09d698a59867d
[IPV6]: fix ipv6_saddr_score struct element

The scope element in the ipv6_saddr_score struct used in
ipv6_dev_get_saddr() is an unsigned integer, but __ipv6_addr_src_scope()
returns a signed integer (and can return -1).

Signed-off-by: Brian Haley <brian.haley@hp.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c