diff options
author | 2023-12-14 19:29:38 +0000 | |
---|---|---|
committer | 2023-12-15 17:56:27 -0800 | |
commit | 41db7626b73210cb99eea9cf672dcfce58c68ab2 (patch) | |
tree | f88e34c3a8393a0145047daa6239f9202d6b3121 /net/core/dev.c | |
parent | dt-bindings: net: marvell,orion-mdio: Drop "reg" sizes schema (diff) | |
download | linux-rng-41db7626b73210cb99eea9cf672dcfce58c68ab2.tar.xz linux-rng-41db7626b73210cb99eea9cf672dcfce58c68ab2.zip |
inet: returns a bool from inet_sk_get_local_port_range()
Change inet_sk_get_local_port_range() to return a boolean,
telling the callers if the port range was provided by
IP_LOCAL_PORT_RANGE socket option.
Adds documentation while we are at it.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20231214192939.1962891-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions