projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Move CSUM_MANGLED_0 definition to net checksum header.
[openvswitch]
/
datapath
/
linux
/
compat
/
include
/
net
/
genetlink.h
diff --git
a/datapath/linux/compat/include/net/genetlink.h
b/datapath/linux/compat/include/net/genetlink.h
index b24f8518a5c48de2d58ec73739475490a54943f6..af7d5fd492ff8017336d31408c41087797f05e26 100644
(file)
--- a/
datapath/linux/compat/include/net/genetlink.h
+++ b/
datapath/linux/compat/include/net/genetlink.h
@@
-52,8
+52,7
@@
extern int busted_nlmsg_multicast(struct sock *sk, struct sk_buff *skb,
* @list: list entry for linking
* @family: pointer to family, need not be set before registering
*/
* @list: list entry for linking
* @family: pointer to family, need not be set before registering
*/
-struct genl_multicast_group
-{
+struct genl_multicast_group {
struct genl_family *family; /* private */
struct list_head list; /* private */
char name[GENL_NAMSIZ];
struct genl_family *family; /* private */
struct list_head list; /* private */
char name[GENL_NAMSIZ];
@@
-102,6
+101,10
@@
static inline int genlmsg_multicast_flags(struct sk_buff *skb, u32 pid,
}
#endif /* linux kernel < 2.6.19 */
}
#endif /* linux kernel < 2.6.19 */
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
+#define genlmsg_multicast_netns(net, skb, pid, grp, flags) \
+ genlmsg_multicast(skb, pid, grp, flags)
+#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)