summaryrefslogtreecommitdiff
path: root/src/libsystemd-rtnl/rtnl-internal.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2013-10-29 17:38:31 +0100
committerTom Gundersen <teg@jklm.no>2013-10-29 17:56:09 +0100
commitadf412b9ec7292e0c83aaf9ab93e08c2c8bd524a (patch)
treedb6d6e2c4229a76494f99e96800d6ae35ff496b7 /src/libsystemd-rtnl/rtnl-internal.h
parent98dd77e86e0cc339543cc8711ff908e6929f0636 (diff)
rtnl: complain if used after fork
Diffstat (limited to 'src/libsystemd-rtnl/rtnl-internal.h')
-rw-r--r--src/libsystemd-rtnl/rtnl-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-rtnl/rtnl-internal.h b/src/libsystemd-rtnl/rtnl-internal.h
index f9c08e1a9a..c24d12b907 100644
--- a/src/libsystemd-rtnl/rtnl-internal.h
+++ b/src/libsystemd-rtnl/rtnl-internal.h
@@ -32,6 +32,7 @@ struct sd_rtnl {
} sockaddr;
unsigned serial;
+ pid_t original_pid;
};
#define RTNL_DEFAULT_TIMEOUT ((usec_t) (10 * USEC_PER_SEC))