diff options
author | Josef Bacik <jbacik@fb.com> | 2017-01-17 18:51:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-18 21:04:29 +0300 |
commit | 289141b7688b71dc69b8d7a54bf67a4d7bc79f96 (patch) | |
tree | df22cd8d2bbcae0ed5c372d634aa61b38cf77cd6 /include/net/inet_hashtables.h | |
parent | 6cd66616834c89b8a6c8a182c4c99e5478cf6d6b (diff) | |
download | linux-289141b7688b71dc69b8d7a54bf67a4d7bc79f96.tar.xz |
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>
Diffstat (limited to 'include/net/inet_hashtables.h')
0 files changed, 0 insertions, 0 deletions