diff --git a/include/linux/inet.h b/include/linux/inet.h index 3b5e9fdff872c5575464208dd8b4fbf8eb665652..6c5587af118d477354d7f738a688babd6524340f 100644 --- a/include/linux/inet.h +++ b/include/linux/inet.h @@ -45,6 +45,6 @@ #ifdef __KERNEL__ #include -extern __u32 in_aton(const char *str); +extern __be32 in_aton(const char *str); #endif #endif /* _LINUX_INET_H */ diff --git a/net/core/utils.c b/net/core/utils.c index 587eb7787debf04561517a0e0f0a070d5bff84e3..ac1d1fcf8673f63158691ee0004952b803206f84 100644 --- a/net/core/utils.c +++ b/net/core/utils.c @@ -162,7 +162,7 @@ EXPORT_SYMBOL(net_srandom); * is otherwise not dependent on the TCP/IP stack. */ -__u32 in_aton(const char *str) +__be32 in_aton(const char *str) { unsigned long l; unsigned int val;