diff options
author | Dave Airlie <airlied@redhat.com> | 2014-06-05 06:28:59 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2014-06-05 06:28:59 -0400 |
commit | 8d4ad9d4bb0a618c975a32d77087694ec6336f68 (patch) | |
tree | d18d12688174a623e3503b11118e44ef8186c90b /include/linux/netlink.h | |
parent | 5ea1f752ae04be403a3dc8ec876a60d7f5f6990a (diff) | |
parent | 9e9a928eed8796a0a1aaed7e0b676db86ba84594 (diff) |
Merge commit '9e9a928eed8796a0a1aaed7e0b676db86ba84594' into drm-next
Merge drm-fixes into drm-next.
Both i915 and radeon need this done for later patches.
Conflicts:
drivers/gpu/drm/drm_crtc_helper.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_gem_gtt.c
Diffstat (limited to 'include/linux/netlink.h')
-rw-r--r-- | include/linux/netlink.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/include/linux/netlink.h b/include/linux/netlink.h index aad8eeaf416d..034cda789a15 100644 --- a/include/linux/netlink.h +++ b/include/linux/netlink.h | |||
@@ -16,9 +16,10 @@ static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb) | |||
16 | } | 16 | } |
17 | 17 | ||
18 | enum netlink_skb_flags { | 18 | enum netlink_skb_flags { |
19 | NETLINK_SKB_MMAPED = 0x1, /* Packet data is mmaped */ | 19 | NETLINK_SKB_MMAPED = 0x1, /* Packet data is mmaped */ |
20 | NETLINK_SKB_TX = 0x2, /* Packet was sent by userspace */ | 20 | NETLINK_SKB_TX = 0x2, /* Packet was sent by userspace */ |
21 | NETLINK_SKB_DELIVERED = 0x4, /* Packet was delivered */ | 21 | NETLINK_SKB_DELIVERED = 0x4, /* Packet was delivered */ |
22 | NETLINK_SKB_DST = 0x8, /* Dst set in sendto or sendmsg */ | ||
22 | }; | 23 | }; |
23 | 24 | ||
24 | struct netlink_skb_parms { | 25 | struct netlink_skb_parms { |
@@ -169,4 +170,11 @@ struct netlink_tap { | |||
169 | extern int netlink_add_tap(struct netlink_tap *nt); | 170 | extern int netlink_add_tap(struct netlink_tap *nt); |
170 | extern int netlink_remove_tap(struct netlink_tap *nt); | 171 | extern int netlink_remove_tap(struct netlink_tap *nt); |
171 | 172 | ||
173 | bool __netlink_ns_capable(const struct netlink_skb_parms *nsp, | ||
174 | struct user_namespace *ns, int cap); | ||
175 | bool netlink_ns_capable(const struct sk_buff *skb, | ||
176 | struct user_namespace *ns, int cap); | ||
177 | bool netlink_capable(const struct sk_buff *skb, int cap); | ||
178 | bool netlink_net_capable(const struct sk_buff *skb, int cap); | ||
179 | |||
172 | #endif /* __LINUX_NETLINK_H */ | 180 | #endif /* __LINUX_NETLINK_H */ |