diff options
author | YOSHIFUJI Hideaki/吉藤英明 <[email protected]> | 2015-07-13 23:28:10 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2015-07-15 21:06:13 -0700 |
commit | c0b8da1e7613a11ce7e44560aae507b62da1f846 (patch) | |
tree | b56047ea80fc041c36996a98f62e97e10e7f22a5 /lib/memory-notifier-error-inject.c | |
parent | 9243b25b2361a0818caaf8ab2ef7d1c5be4b1211 (diff) |
ipv6: Fix finding best source address in ipv6_dev_get_saddr().
Commit 9131f3de2 ("ipv6: Do not iterate over all interfaces when
finding source address on specific interface.") did not properly
update best source address available. Plus, it introduced
possible NULL pointer dereference.
Bug was reported by Erik Kline <[email protected]>.
Based on patch proposed by Hajime Tazaki <[email protected]>.
Fixes: 9131f3de24db4dc12199aede7d931e6703e97f3b ("ipv6: Do not
iterate over all interfaces when finding source address
on specific interface.")
Signed-off-by: YOSHIFUJI Hideaki <[email protected]>
Acked-by: Hajime Tazaki <[email protected]>
Acked-by: Erik Kline <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions