Gao Feng 8b57fd1ec1 net: Eliminate duplicated codes by creating one new function in_dev_select_addr
There are two duplicated loops codes which used to select right
address in current codes. Now eliminate these codes by creating
one new function in_dev_select_addr.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-12 23:27:09 -07:00
..
2017-02-13 22:15:03 -05:00
2016-10-20 14:32:22 -04:00
2017-01-13 22:37:16 -05:00
2016-04-27 22:48:23 -04:00
2017-02-21 12:23:53 -05:00
2017-02-27 18:43:47 -08:00
2017-02-26 11:03:38 -05:00
2016-06-10 23:07:49 -07:00
2016-09-21 00:23:00 -04:00
2017-01-13 22:37:16 -05:00
2016-10-20 14:32:22 -04:00
2017-02-15 11:04:11 +01:00
2017-01-10 10:57:12 +01:00