Loading net/decnet/af_decnet.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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, struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, noblock, errcode); noblock, errcode); if (skb) { if (skb) { skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->pkt_type = PACKET_OUTGOING; skb->pkt_type = PACKET_OUTGOING; } } return skb; return skb; Loading net/decnet/dn_nsp_out.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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) if ((skb = alloc_skb(size + hdr, pri)) == NULL) return NULL; return NULL; skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->pkt_type = PACKET_OUTGOING; skb->pkt_type = PACKET_OUTGOING; if (sk) if (sk) Loading net/decnet/dn_route.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1551,7 +1551,7 @@ static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void kfree_skb(skb); kfree_skb(skb); return -ENODEV; return -ENODEV; } } skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->dev = dev; skb->dev = dev; cb->src = fl.fld_src; cb->src = fl.fld_src; cb->dst = fl.fld_dst; cb->dst = fl.fld_dst; Loading Loading
net/decnet/af_decnet.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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, struct sk_buff *skb = sock_alloc_send_skb(sk, datalen, noblock, errcode); noblock, errcode); if (skb) { if (skb) { skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->pkt_type = PACKET_OUTGOING; skb->pkt_type = PACKET_OUTGOING; } } return skb; return skb; Loading
net/decnet/dn_nsp_out.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -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) if ((skb = alloc_skb(size + hdr, pri)) == NULL) return NULL; return NULL; skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->pkt_type = PACKET_OUTGOING; skb->pkt_type = PACKET_OUTGOING; if (sk) if (sk) Loading
net/decnet/dn_route.c +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1551,7 +1551,7 @@ static int dn_cache_getroute(struct sk_buff *in_skb, struct nlmsghdr *nlh, void kfree_skb(skb); kfree_skb(skb); return -ENODEV; return -ENODEV; } } skb->protocol = __constant_htons(ETH_P_DNA_RT); skb->protocol = htons(ETH_P_DNA_RT); skb->dev = dev; skb->dev = dev; cb->src = fl.fld_src; cb->src = fl.fld_src; cb->dst = fl.fld_dst; cb->dst = fl.fld_dst; Loading