Skip to content

Commit d4b172d

Browse files
bwhacksdavem330
authored andcommitted
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>
1 parent c2e0cd8 commit d4b172d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎include/linux/if_pppol2tp.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct pppol2tp_addr {
3939
* bits. So we need a different sockaddr structure.
4040
*/
4141
struct pppol2tpv3_addr {
42-
pid_t pid; /* pid that owns the fd.
42+
__kernel_pid_t pid; /* pid that owns the fd.
4343
* 0 => current */
4444
int fd; /* FD of UDP or IP socket to use */
4545

0 commit comments

Comments
 (0)