projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2772442
)
[IPV4]: ipv4_is_lbcast() misannotations
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 18 Mar 2008 05:48:46 +0000
(22:48 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 18 Mar 2008 05:48:46 +0000
(22:48 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/in.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/in.h
b/include/linux/in.h
index 70c6df882694b70c6ba372b9fedc21b35bce396c..4065313cd7eee7f3a287d3cd0629ffcb726041f1 100644
(file)
--- 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)