diff options
author | Bill Fenner <fenner@gmail.com> | 2022-05-26 11:41:43 -0700 |
---|---|---|
committer | Bill Fenner <fenner@gmail.com> | 2022-08-25 08:29:07 -0700 |
commit | 024fd9717d43835f3e08b3146714532768910d3c (patch) | |
tree | f4d0913db9d26ec5c6acb201e37d91e5a51da929 /sockutils.c | |
parent | 4c1e516dd2971810918babcd871e428db53383e4 (diff) |
Close the eventfd if we are non-blocking
The eventfd is used to break out of a poll() before it
times out, used by pcap_breakloop(). If we are non-blocking,
then the eventfd is never needed, so we close it. (And
open a new eventfd if we switch to blocking).
Diffstat (limited to 'sockutils.c')
0 files changed, 0 insertions, 0 deletions