[DECNET]: Use htons() where appropriate.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
91c5ec3ed1
commit
b98999dc38
@@ -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)
|
||||
|
Reference in New Issue
Block a user