From: Al Viro Date: Tue, 18 Mar 2008 05:48:46 +0000 (-0700) Subject: [IPV4]: ipv4_is_lbcast() misannotations X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0ff9663c88ac5efdb5c8ac21c0bd7f993a4e3849;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [IPV4]: ipv4_is_lbcast() misannotations Signed-off-by: Al Viro Signed-off-by: David S. Miller --- diff --git a/include/linux/in.h b/include/linux/in.h index 70c6df882694..4065313cd7ee 100644 --- a/include/linux/in.h +++ b/include/linux/in.h @@ -265,7 +265,7 @@ static inline bool ipv4_is_local_multicast(__be32 addr) static inline bool ipv4_is_lbcast(__be32 addr) { /* limited broadcast */ - return addr == INADDR_BROADCAST; + return addr == htonl(INADDR_BROADCAST); } static inline bool ipv4_is_zeronet(__be32 addr)