ofproto: Fix use-after-free error when ports disappear.
[sliver-openvswitch.git] / lib / netlink-socket.h
index b6356b9..f2a5d3f 100644 (file)
@@ -60,6 +60,7 @@ int nl_sock_transact(struct nl_sock *, const struct ofpbuf *request,
 int nl_sock_drain(struct nl_sock *);
 
 void nl_sock_wait(const struct nl_sock *, short int events);
+int nl_sock_fd(const struct nl_sock *);
 
 uint32_t nl_sock_pid(const struct nl_sock *);