headers, pppol2tp: Use __kernel_pid_t in <linux/pppol2tp.h>
authorBen Hutchings <ben@decadent.org.uk>
Wed, 24 Aug 2011 18:43:50 +0000 (18:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2011 16:02:50 +0000 (12:02 -0400)
<linux/types.h> defines __kernel_pid_t for userland; pid_t is
defined elsewhere (and potentially differently).

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_pppol2tp.h

index 184bc5566207c0c6471b691ee7f00b32875f41f2..23cefa1111bfc4654b8ce7a3c6237f65494fb82d 100644 (file)
@@ -39,7 +39,7 @@ struct pppol2tp_addr {
  * bits. So we need a different sockaddr structure.
  */
 struct pppol2tpv3_addr {
-       pid_t   pid;                    /* pid that owns the fd.
+       __kernel_pid_t  pid;            /* pid that owns the fd.
                                         * 0 => current */
        int     fd;                     /* FD of UDP or IP socket to use */