Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

executor/common_lunux.h/usbip_server_init: Close fd if can't find usb port #4936

Closed
wants to merge 19 commits into from

Conversation

AKSUMRUS
Copy link
Contributor

@AKSUMRUS AKSUMRUS commented Jun 26, 2024

If usb port for usbip server can't be found, fd of the server and client should be closed.

If they don't closed, the number of open files will increase and may overflow the number of available open files.

dvyukov
dvyukov previously approved these changes Jun 26, 2024
@dvyukov dvyukov enabled auto-merge June 26, 2024 15:03
auto-merge was automatically disabled June 26, 2024 15:36

Head branch was pushed to by a user without write access

@AKSUMRUS AKSUMRUS closed this Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants