scm: Don't use struct ucred in NETLINK_CB and struct scm_cookie.
[linux-2.6-block.git] / include / linux / netlink.h
index c9fdde2bc73f422951da472cf1636da900a93ad2..df73cf4b029074aa3e03525550fe09a70e2734fb 100644 (file)
@@ -153,6 +153,7 @@ struct nlattr {
 
 #include <linux/capability.h>
 #include <linux/skbuff.h>
+#include <net/scm.h>
 
 struct net;
 
@@ -162,7 +163,7 @@ static inline struct nlmsghdr *nlmsg_hdr(const struct sk_buff *skb)
 }
 
 struct netlink_skb_parms {
-       struct ucred            creds;          /* Skb credentials      */
+       struct scm_creds        creds;          /* Skb credentials      */
        __u32                   pid;
        __u32                   dst_group;
        struct sock             *ssk;