From: Gao Feng <[email protected]>
This collection contains two patches used to refine the inet_select_addr codes.
Gao Feng (2):
net: Avoid unnessary loop when master_idx is invalid in
inet_select_addr
net: Eliminate duplicated codes by creating one new function
in_dev_select_addr
net/ipv4/devinet.c | 71 ++++++++++++++++++++++++++++++------------------------
1 file changed, 39 insertions(+), 32 deletions(-)
--
v3: Add the cover letter, per David
v2: Correct the comit log and remove useless braces, per Sergei
v1: Initial Version
1.9.1