summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2021-02-25 14:38:16 +0100
committerJiri Pirko <jiri@nvidia.com>2021-03-05 08:08:18 +0100
commit73a900b94742b67be377aa47fbcbea9e267628a3 (patch)
treeab060558a34802ea0527962fe903684b68d1aa66 /Makefile.am
parent3fc2ed78edb5deae0381d022bedc22ffd00d50cb (diff)
downloadlibndp-73a900b94742b67be377aa47fbcbea9e267628a3.tar.gz
libndp,ndptool: use poll() instead of select()
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>
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions