projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c0cdb0
)
core: zero size notify messages are OK
author
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Jan 2015 00:11:46 +0000
(
01:11
+0100)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 23 Jan 2015 00:17:55 +0000
(
01:17
+0100)
src/core/manager.c
patch
|
blob
|
history
diff --git
a/src/core/manager.c
b/src/core/manager.c
index
947d431
..
4f77139
100644
(file)
--- a/
src/core/manager.c
+++ b/
src/core/manager.c
@@
-1521,8
+1521,6
@@
static int manager_dispatch_notify_fd(sd_event_source *source, int fd, uint32_t
return -errno;
}
- if (n == 0)
- return -ECONNRESET;
for (cmsg = CMSG_FIRSTHDR(&msghdr); cmsg; cmsg = CMSG_NXTHDR(&msghdr, cmsg)) {
if (cmsg->cmsg_level == SOL_SOCKET && cmsg->cmsg_type == SCM_RIGHTS) {