diff --git a/src/platform/nm-linux-platform.c b/src/platform/nm-linux-platform.c index 3469a8289..76ca16f30 100644 --- a/src/platform/nm-linux-platform.c +++ b/src/platform/nm-linux-platform.c @@ -5697,11 +5697,12 @@ continue_reading: } event_seq_check (platform, msg, seq_result); - err = 0; - hdr = nlmsg_next (hdr, &n); if (abort_parsing) goto out; + + err = 0; + hdr = nlmsg_next (hdr, &n); } if (multipart) {