Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ben Hutchings and committed by
David S. Miller
d4b172d2 c2e0cd88

+1 -1
+1 -1
include/linux/if_pppol2tp.h
··· 39 39 * bits. So we need a different sockaddr structure. 40 40 */ 41 41 struct pppol2tpv3_addr { 42 - pid_t pid; /* pid that owns the fd. 42 + __kernel_pid_t pid; /* pid that owns the fd. 43 43 * 0 => current */ 44 44 int fd; /* FD of UDP or IP socket to use */ 45 45