Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1757794 Details for
Bug 1927973
dnsmasq --bind-dynamic stops replying to upstream queries
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Remove whole process delay on ENOBUFS
0002-Remove-sleeping-on-netlink-ENOBUFS.patch (text/plain), 1001 bytes, created by
Petr Menšík
on 2021-02-18 13:27:59 UTC
(
hide
)
Description:
Remove whole process delay on ENOBUFS
Filename:
MIME Type:
Creator:
Petr Menšík
Created:
2021-02-18 13:27:59 UTC
Size:
1001 bytes
patch
obsolete
>From f232f382f06f39b36e2287233c21fa2ccc7be320 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com> >Date: Wed, 17 Feb 2021 18:15:54 +0100 >Subject: [PATCH 2/4] Remove sleeping on netlink ENOBUFS > >With reduced number of written events netlink should receive ENOBUFS >rarely. It does not make sense to wait if it is received. It is just a >signal some packets got missing. Fast reading all pending packets is required, >seq checking ensures it already. Finishes changes by >commit 1d07667ac77c55b9de56b1b2c385167e0e0ec27a. >--- > src/netlink.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > >diff --git a/src/netlink.c b/src/netlink.c >index 7ff829e..101313f 100644 >--- a/src/netlink.c >+++ b/src/netlink.c >@@ -204,10 +204,7 @@ int iface_enumerate(int family, void *parm, int (*callback)()) > if ((len = netlink_recv()) == -1) > { > if (errno == ENOBUFS) >- { >- sleep(1); >- goto again; >- } >+ goto again; > return 0; > } > >-- >2.26.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1927973
:
1757792
| 1757794