projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6179983
)
[BRIDGE]: Use cpu_to_be16() where appropriate.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Tue, 11 Dec 2007 18:51:03 +0000
(
03:51
+0900)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:58:00 +0000
(14:58 -0800)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_input.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bridge/br_input.c
b/net/bridge/br_input.c
index 0ee79a726d91f3159e293282013dd7fad395760e..255c00f60ce7a3a14a5b0089e440d2edf46403e1 100644
(file)
--- a/
net/bridge/br_input.c
+++ b/
net/bridge/br_input.c
@@
-109,7
+109,7
@@
static inline int is_link_local(const unsigned char *dest)
{
__be16 *a = (__be16 *)dest;
static const __be16 *b = (const __be16 *)br_group_address;
- static const __be16 m =
__constant_
cpu_to_be16(0xfff0);
+ static const __be16 m = cpu_to_be16(0xfff0);
return ((a[0] ^ b[0]) | (a[1] ^ b[1]) | ((a[2] ^ b[2]) & m)) == 0;
}