pptp: fix byte order warnings
authorstephen hemminger <stephen@networkplumber.org>
Sat, 10 Aug 2013 22:22:58 +0000 (15:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Aug 2013 22:10:22 +0000 (15:10 -0700)
commitebd8b934e23f45ad3fc8a5a28bc5a96741a6a106
treefc30abaada405342996d5f96e343bc499454253d
parent072017b41e49e2a8e8a4e0258837a614bb5daa8d
pptp: fix byte order warnings

Pptp driver has lots of byte order warnings from sparse.
This was because the on-the-wire header is in network byte order (obviously)
but the definition did not reflect that.

Also, the address structure to user space actually put the call id
in host order. Rather than break ABI compatibility, just acknowledge
the existing design.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/pptp.c
include/uapi/linux/if_pppox.h