Skip to content

Commit

Permalink
headers, pppol2tp: Use __kernel_pid_t in <linux/pppol2tp.h>
Browse files Browse the repository at this point in the history
<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>
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 26, 2011
1 parent c2e0cd8 commit d4b172d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/if_pppol2tp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit d4b172d

Please sign in to comment.