From: Roy Marples Date: Mon, 19 Mar 2018 17:26:15 +0000 (+0000) Subject: Test for ENOMEM as well. X-Git-Tag: v7.0.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1a248e83d50c11224f16d6a2dbca1487fae9112;p=thirdparty%2Fdhcpcd.git Test for ENOMEM as well. --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 5b345d5f..d7de55df 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1033,7 +1033,7 @@ dhcpcd_handlelink(void *arg) struct dhcpcd_ctx *ctx = arg; if (if_handlelink(ctx) == -1) { - if (errno == ENOBUFS) { + if (errno == ENOBUFS || errno == ENOMEM) { dhcpcd_linkoverflow(ctx); return; }