From: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>

Required to send event in the network to the right listener.

Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com>
Reviewed-by: Andrey Ryabinin <aryabi...@virtuozzo.com>

(cherry picked from vz8 commit d6d227a4938089ff429b0fec22db738296aa5f24)
Signed-off-by: Pavel Tikhomirov <ptikhomi...@virtuozzo.com>
---
 drivers/connector/cn_proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c
index c763c62ee2c9..c795a27e2a98 100644
--- a/drivers/connector/cn_proc.c
+++ b/drivers/connector/cn_proc.c
@@ -67,7 +67,7 @@ static inline void send_msg_ve(struct ve_struct *ve, struct 
cn_msg *msg)
         *
         * If cn_netlink_send() fails, the data is not sent.
         */
-       cn_netlink_send(msg, 0, CN_IDX_PROC, GFP_NOWAIT);
+       cn_netlink_send_ve(ve, msg, 0, CN_IDX_PROC, GFP_NOWAIT);
 
        local_unlock(&ve->cn->local_event->lock);
 }
-- 
2.31.1

_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel

Reply via email to