Skip to content
Commit 8b57fd1e authored by Gao Feng's avatar Gao Feng Committed by David S. Miller
Browse files

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: default avatarGao Feng <fgao@ikuai8.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 81663bee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment