diff --git a/Platform/modules/pdelivery/pdeliverynl_kinit.c b/Platform/modules/pdelivery/pdeliverynl_kinit.c index 88fa86f61..b17f9a27a 100644 --- a/Platform/modules/pdelivery/pdeliverynl_kinit.c +++ b/Platform/modules/pdelivery/pdeliverynl_kinit.c @@ -307,7 +307,7 @@ int pdeliv_unicast(struct sk_buff *skb, u32 portid) int msgtype = 0; ret = commnl_unicast(g_nlcfg.sk, skb, portid); - +/* if(ret < 0) { g_nlcfg.dfs.send_fail++; @@ -337,7 +337,7 @@ int pdeliv_unicast(struct sk_buff *skb, u32 portid) pdelivnl_msg_handlers[msgtype].dfs.send_succ++; } } - +*/ return(ret); } diff --git a/Platform/user/netlink_uapi/libnetlinku.c b/Platform/user/netlink_uapi/libnetlinku.c index 0ce5f77c5..57bb6b2f6 100644 --- a/Platform/user/netlink_uapi/libnetlinku.c +++ b/Platform/user/netlink_uapi/libnetlinku.c @@ -312,6 +312,7 @@ int commnl_send(struct upmnl_handle *nl, struct nlmsghdr *n) int ret = -1; //if(n->nlmsg_flags |NLM_F_ACK) + n->nlmsg_pid = nl->local.nl_pid; ret = send(nl->fd, n, n->nlmsg_len, 0);