Florian Westphal
d519e8708b
devinet: use in_dev_for_each_ifa_rcu in more places
...
This also replaces spots that used for_primary_ifa().
for_primary_ifa() aborts the loop on the first secondary address seen.
Replace it with either the rcu or rtnl variant of in_dev_for_each_ifa(),
but two places will now also consider secondary addresses too:
inet_addr_onlink() and inet_ifa_byprefix().
I do not understand why they should ignore secondary addresses.
Why would a secondary address not be considered 'on link'?
When matching a prefix, why ignore a matching secondary address?
Other places get converted as well, but gain "->flags & SECONDARY" check.
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: David S. Miller <davem@davemloft.net >
2019-06-02 18:06:26 -07:00
..
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-09 09:44:17 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-31 18:02:43 +02:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-31 21:21:18 -07:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:36:45 +02:00
2019-05-24 17:36:42 +02:00
2019-05-21 10:50:46 +02:00
2019-05-31 10:49:43 -07:00
2019-05-21 10:50:46 +02:00
2019-05-23 09:29:44 -07:00
2019-05-28 17:22:15 -07:00
2019-05-21 10:50:46 +02:00
2019-06-02 18:06:26 -07:00
2019-05-31 21:21:18 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:27:12 +02:00
2019-05-28 17:25:23 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-06-01 16:21:19 -07:00
2019-05-21 11:28:45 +02:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:27:11 +02:00
2019-05-31 10:49:43 -07:00
2019-05-31 10:49:43 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-22 08:28:16 -07:00
2019-05-26 21:47:13 -07:00
2019-05-31 10:49:43 -07:00
2019-05-22 18:00:36 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:27:12 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 12:33:38 -07:00
2019-05-21 10:50:45 +02:00
2019-05-21 10:50:46 +02:00
2019-02-28 08:24:23 -07:00
2019-05-19 10:33:22 -07:00
2019-05-21 10:50:45 +02:00