diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-08-24 14:43:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-08-26 12:02:50 -0400 |
commit | d4b172d2ecb99edfb6afce6af8a65447af347543 (patch) | |
tree | 90498aa19696d1bd87b93c6a530c13dada7773ae /include/linux | |
parent | c2e0cd88691f214fdeacb63bbd823703456a1617 (diff) |
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')
-rw-r--r-- | include/linux/if_pppol2tp.h | 2 |
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 { | |||
39 | * bits. So we need a different sockaddr structure. | 39 | * bits. So we need a different sockaddr structure. |
40 | */ | 40 | */ |
41 | struct pppol2tpv3_addr { | 41 | struct pppol2tpv3_addr { |
42 | pid_t pid; /* pid that owns the fd. | 42 | __kernel_pid_t pid; /* pid that owns the fd. |
43 | * 0 => current */ | 43 | * 0 => current */ |
44 | int fd; /* FD of UDP or IP socket to use */ | 44 | int fd; /* FD of UDP or IP socket to use */ |
45 | 45 | ||