diff options
-rw-r--r-- | net/decnet/af_decnet.c | 2 | ||||
-rw-r--r-- | net/decnet/dn_nsp_out.c | 2 | ||||
-rw-r--r-- | net/decnet/dn_route.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/net/decnet/af_decnet.c b/net/decnet/af_decnet.c index 57d574951838..acd48ee522d6 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, | |||
1904 | struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, | 1904 | struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, |
1905 | noblock, errcode); | 1905 | noblock, errcode); |
1906 | if (skb) { | 1906 | if (skb) { |
1907 | skb->protocol = __constant_htons(ETH_P_DNA_RT); | 1907 | skb->protocol = htons(ETH_P_DNA_RT); |
1908 | skb->pkt_type = PACKET_OUTGOING; | 1908 | skb->pkt_type = PACKET_OUTGOING; |
1909 | } | 1909 | } |
1910 | return skb; | 1910 | return skb; |
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) |
diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index b712d0b36526..1ae5efcdbd5f 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c | |||
@@ -1551,7 +1551,7 @@ static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void | |||
1551 | kfree_skb(skb); | 1551 | kfree_skb(skb); |
1552 | return -ENODEV; | 1552 | return -ENODEV; |
1553 | } | 1553 | } |
1554 | skb->protocol = __constant_htons(ETH_P_DNA_RT); | 1554 | skb->protocol = htons(ETH_P_DNA_RT); |
1555 | skb->dev = dev; | 1555 | skb->dev = dev; |
1556 | cb->src = fl.fld_src; | 1556 | cb->src = fl.fld_src; |
1557 | cb->dst = fl.fld_dst; | 1557 | cb->dst = fl.fld_dst; |