projects
/
linux-2.6-microblaze.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
|
history
diff --git
a/include/linux/in.h
b/include/linux/in.h
index
70c6df8
..
4065313
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)