1. Bryan O'Sullivan
  2. netplug

Source

netplug / netlink.c

Diff from to

File netlink.c

             exit(1);
         }
 
+        if (addr.nl_pid != 0) {
+            do_log(LOG_ERR, "Netlink packet came from pid %d, not from kernel",
+                   addr.nl_pid);
+            return 0;
+        }
+
         struct nlmsghdr *hdr;
 
         for (hdr = (struct nlmsghdr*)buf; status >= sizeof(*hdr); ) {