[PATCH openEuler-1.0-LTS 023/769] net: split out functions related to registering inflight socket files