commit | ffb6ca33b04b965ac7dd10676537b93e2476dcec | [log] [tgz] |
---|---|---|
author | Frank Sorenson <sorenson@redhat.com> | Fri Jul 08 16:35:25 2016 -0500 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Tue Jul 19 16:23:27 2016 -0400 |
tree | 7ce4abe91fb16fe66eff213b984546f57c0f6380 | |
parent | e08ea3a96fc7112921023b77b737098690a666dc [diff] |
sunrpc: Prevent resvport min/max inversion via sysfs and module parameter The current min/max resvport settings are independently limited by the entire range of allowed ports, so max_resvport can be set to a port lower than min_resvport. Prevent inversion of min/max values when set through sysfs and module parameter by setting the limits dependent on each other. Signed-off-by: Frank Sorenson <sorenson@redhat.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>