commit | 289141b7688b71dc69b8d7a54bf67a4d7bc79f96 | [log] [tgz] |
---|---|---|
author | Josef Bacik <jbacik@fb.com> | Tue Jan 17 07:51:05 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 18 13:04:29 2017 -0500 |
tree | df22cd8d2bbcae0ed5c372d634aa61b38cf77cd6 | |
parent | 6cd66616834c89b8a6c8a182c4c99e5478cf6d6b [diff] |
inet: split inet_csk_get_port into two functions inet_csk_get_port does two different things, it either scans for an open port, or it tries to see if the specified port is available for use. Since these two operations have different rules and are basically independent lets split them into two different functions to make them both more readable. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>