projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6d9bcb
)
[NET] TIPC: Use htons() where appropriate.
author
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Wed, 7 Mar 2007 05:21:31 +0000
(14:21 +0900)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:24:01 +0000
(22:24 -0700)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/eth_media.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tipc/eth_media.c
b/net/tipc/eth_media.c
index 9be4839e32c5efe1a3ad87e24b1e6f42ecb3f9f9..f71ba9db611e17607c0f7e99294b637b482bdf45 100644
(file)
--- a/
net/tipc/eth_media.c
+++ b/
net/tipc/eth_media.c
@@
-140,7
+140,7
@@
static int enable_bearer(struct tipc_bearer *tb_ptr)
return -EDQUOT;
if (!eb_ptr->dev) {
eb_ptr->dev = dev;
- eb_ptr->tipc_packet_type.type =
__constant_
htons(ETH_P_TIPC);
+ eb_ptr->tipc_packet_type.type = htons(ETH_P_TIPC);
eb_ptr->tipc_packet_type.dev = dev;
eb_ptr->tipc_packet_type.func = recv_msg;
eb_ptr->tipc_packet_type.af_packet_priv = eb_ptr;