summaryrefslogtreecommitdiff
path: root/include/linux/if_pppol2tp.h
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-08-24 22:43:50 +0400
committerDavid S. Miller <davem@davemloft.net>2011-08-26 20:02:50 +0400
commitd4b172d2ecb99edfb6afce6af8a65447af347543 (patch)
tree90498aa19696d1bd87b93c6a530c13dada7773ae /include/linux/if_pppol2tp.h
parentc2e0cd88691f214fdeacb63bbd823703456a1617 (diff)
downloadlinux-d4b172d2ecb99edfb6afce6af8a65447af347543.tar.xz
headers, pppol2tp: Use __kernel_pid_t in <linux/pppol2tp.h>
<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>
Diffstat (limited to 'include/linux/if_pppol2tp.h')
-rw-r--r--include/linux/if_pppol2tp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/if_pppol2tp.h b/include/linux/if_pppol2tp.h
index 184bc5566207..23cefa1111bf 100644
--- a/include/linux/if_pppol2tp.h
+++ b/include/linux/if_pppol2tp.h
@@ -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 */