mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
[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 <[email protected]> Acked-by: YOSHIFUJI Hideaki <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
0ade309be7
commit
0d27b42739
1 changed files with 1 additions and 1 deletions
|
|
@ -822,7 +822,7 @@ struct ipv6_saddr_score {
|
|||
int addr_type;
|
||||
unsigned int attrs;
|
||||
int matchlen;
|
||||
unsigned int scope;
|
||||
int scope;
|
||||
unsigned int rule;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue