mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
sd-radv: propagate OOM, it's reason to fail
This commit is contained in:
parent
e866e17b0f
commit
e55a6eaeb9
@ -235,7 +235,7 @@ static int radv_recv(sd_event_source *s, int fd, uint32_t revents, void *userdat
|
||||
|
||||
buf = new0(char, buflen);
|
||||
if (!buf)
|
||||
return 0;
|
||||
return -ENOMEM;
|
||||
|
||||
r = icmp6_receive(fd, buf, buflen, &src, ×tamp);
|
||||
if (r < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user