diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2007-12-12 03:51:49 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:58:01 -0800 |
commit | b98999dc382a4e59a250f2ac9e32beca668cba0b (patch) | |
tree | a8e5a2b8531eb3bed101fb1afa0109553277634d /net/decnet/af_decnet.c | |
parent | 91c5ec3ed184b7ca08314457b6e202e3d2cfb65f (diff) | |
download | op-kernel-dev-b98999dc382a4e59a250f2ac9e32beca668cba0b.zip op-kernel-dev-b98999dc382a4e59a250f2ac9e32beca668cba0b.tar.gz |
[DECNET]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/af_decnet.c')
-rw-r--r-- | net/decnet/af_decnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 57d5749..acd48ee 100644 --- a/net/decnet/af_decnet.c +++ b/net/decnet/af_decnet.c @@ -1904,7 +1904,7 @@ static inline struct sk_buff *dn_alloc_send_pskb(struct sock *sk, struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, noblock, errcode); if (skb) { - skb->protocol = __constant_htons(ETH_P_DNA_RT); + skb->protocol = htons(ETH_P_DNA_RT); skb->pkt_type = PACKET_OUTGOING; } return skb; |