projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
168df47bb0ec78d14d10adfd1159aa57242d2ae9
[openwrt.git]
/
package
/
hotplug2
/
patches
/
100-recv_check.patch
1
--- a/hotplug2.c
2
+++ b/hotplug2.c
3
@@ -300,6 +300,9 @@ int main(int argc, char *argv[]) {
4
worker_ctx = settings->worker->module->init(settings);
5
while (process) {
6
size = recv(settings->netlink_socket, &buffer, sizeof(buffer), 0);
7
+ if (size < 0)
8
+ continue;
9
+
10
uevent = uevent_deserialize(buffer, size);
11
12
if (uevent == NULL)
This page took
0.038233 seconds
and
3
git commands to generate.