Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libndp,ndptool: use poll() instead of select() | Beniamino Galvani | 2021-03-05 | 1 | -1/+1 |
| | | | | | | | | | | | select() doesn't support file descriptors greater than 1023. If the program has many files open, the socket descriptor can be > 1023 and then FD_SET(fd, &rfds) causes a buffer overflow. Switch to poll() and ppoll() which don't have this limitation. Signed-off-by: Beniamino Galvani <bgalvani@redhat.com> Signed-off-by: Jiri Pirko <jiri@nvidia.com> | ||||
* | initial | Jiri Pirko | 2013-03-15 | 1 | -0/+10 |
Signed-off-by: Jiri Pirko <jiri@resnulli.us> |