aboutsummaryrefslogtreecommitdiffstats
path: root/net/decnet/dn_nsp_out.c
diff options
context:
space:
mode:
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)
124 if ((skb = alloc_skb(size + hdr, pri)) == NULL) 124 if ((skb = alloc_skb(size + hdr, pri)) == NULL)
125 return NULL; 125 return NULL;
126 126
127 skb->protocol = __constant_htons(ETH_P_DNA_RT); 127 skb->protocol = htons(ETH_P_DNA_RT);
128 skb->pkt_type = PACKET_OUTGOING; 128 skb->pkt_type = PACKET_OUTGOING;
129 129
130 if (sk) 130 if (sk)