summaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_nsp_out.c
diff options
context:
space:
mode:
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>2007-12-11 19:51:49 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:58:01 +0100
commitb98999dc382a4e59a250f2ac9e32beca668cba0b (patch)
treea8e5a2b8531eb3bed101fb1afa0109553277634d /net/decnet/dn_nsp_out.c
parent[BRIDGE]: Use cpu_to_be16() where appropriate. (diff)
downloadlinux-b98999dc382a4e59a250f2ac9e32beca668cba0b.tar.xz
linux-b98999dc382a4e59a250f2ac9e32beca668cba0b.zip
[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/dn_nsp_out.c')
-rw-r--r--net/decnet/dn_nsp_out.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_nsp_out.c b/net/decnet/dn_nsp_out.c
index 7404653880b0..1964faf203e4 100644
--- a/net/decnet/dn_nsp_out.c
+++ b/net/decnet/dn_nsp_out.c
@@ -124,7 +124,7 @@ struct sk_buff *dn_alloc_skb(struct sock *sk, int size, gfp_t pri)
if ((skb = alloc_skb(size + hdr, pri)) == NULL)
return NULL;
- skb->protocol = __constant_htons(ETH_P_DNA_RT);
+ skb->protocol = htons(ETH_P_DNA_RT);
skb->pkt_type = PACKET_OUTGOING;
if (sk)