commit | ea239314fe42ace880bdd834256834679346c80e | [log] [tgz] |
---|---|---|
author | Erik Hugne <erik.hugne@gmail.com> | Sun Mar 17 18:46:42 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 17 21:32:11 2019 -0700 |
tree | 0289448a583ec424d677bd943459e130fd30aae8 | |
parent | 65e9a6d25deb752d97b88335068dc0e7accbc9c3 [diff] |
tipc: allow service ranges to be connect()'ed on RDM/DGRAM We move the check that prevents connecting service ranges to after the RDM/DGRAM check, and move address sanity control to a separate function that also validates the service range. Fixes: 23998835be98 ("tipc: improve address sanity check in tipc_connect()") Signed-off-by: Erik Hugne <erik.hugne@gmail.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>