diff options
Diffstat (limited to 'include/net/genetlink.h')
-rw-r--r-- | include/net/genetlink.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/net/genetlink.h b/include/net/genetlink.h index 8c2287264266..4a38d85e4e25 100644 --- a/include/net/genetlink.h +++ b/include/net/genetlink.h | |||
@@ -27,8 +27,6 @@ struct genl_family | |||
27 | struct list_head family_list; /* private */ | 27 | struct list_head family_list; /* private */ |
28 | }; | 28 | }; |
29 | 29 | ||
30 | #define GENL_ADMIN_PERM 0x01 | ||
31 | |||
32 | /** | 30 | /** |
33 | * struct genl_info - receiving information | 31 | * struct genl_info - receiving information |
34 | * @snd_seq: sending sequence number | 32 | * @snd_seq: sending sequence number |
@@ -133,11 +131,12 @@ static inline int genlmsg_cancel(struct sk_buff *skb, void *hdr) | |||
133 | * @skb: netlink message as socket buffer | 131 | * @skb: netlink message as socket buffer |
134 | * @pid: own netlink pid to avoid sending to yourself | 132 | * @pid: own netlink pid to avoid sending to yourself |
135 | * @group: multicast group id | 133 | * @group: multicast group id |
134 | * @flags: allocation flags | ||
136 | */ | 135 | */ |
137 | static inline int genlmsg_multicast(struct sk_buff *skb, u32 pid, | 136 | static inline int genlmsg_multicast(struct sk_buff *skb, u32 pid, |
138 | unsigned int group) | 137 | unsigned int group, gfp_t flags) |
139 | { | 138 | { |
140 | return nlmsg_multicast(genl_sock, skb, pid, group); | 139 | return nlmsg_multicast(genl_sock, skb, pid, group, flags); |
141 | } | 140 | } |
142 | 141 | ||
143 | /** | 142 | /** |