]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/rdma/rdma_netlink.h
Merge tag 'mmc-v4.4' of git://git.linaro.org/people/ulf.hansson/mmc
[karo-tx-linux.git] / include / rdma / rdma_netlink.h
index 0790882e0c9b32443a37c44a26b3357224245d82..5852661443290d52eb8a3e719716452d752b6eaa 100644 (file)
@@ -77,4 +77,11 @@ int ibnl_unicast(struct sk_buff *skb, struct nlmsghdr *nlh,
 int ibnl_multicast(struct sk_buff *skb, struct nlmsghdr *nlh,
                        unsigned int group, gfp_t flags);
 
+/**
+ * Check if there are any listeners to the netlink group
+ * @group: the netlink group ID
+ * Returns 0 on success or a negative for no listeners.
+ */
+int ibnl_chk_listeners(unsigned int group);
+
 #endif /* _RDMA_NETLINK_H */