Skip to content
Snippets Groups Projects
Commit d4b172d2 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

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: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2e0cd88
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment