projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
include
/
rdma
/
rdma_netlink.h
diff --git
a/include/rdma/rdma_netlink.h
b/include/rdma/rdma_netlink.h
index 0790882e0c9b32443a37c44a26b3357224245d82..5852661443290d52eb8a3e719716452d752b6eaa 100644
(file)
--- a/
include/rdma/rdma_netlink.h
+++ b/
include/rdma/rdma_netlink.h
@@
-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);
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 */
#endif /* _RDMA_NETLINK_H */