[Devel] [PATCH RH9 22/26] proc connector: use per-ve netlink sender helper

Pavel Tikhomirov ptikhomirov at virtuozzo.com
Thu Oct 7 15:54:02 MSK 2021


From: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>

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

Signed-off-by: Stanislav Kinsburskiy <skinsbursky at virtuozzo.com>
Reviewed-by: Andrey Ryabinin <aryabinin at virtuozzo.com>

(cherry picked from vz8 commit d6d227a4938089ff429b0fec22db738296aa5f24)
Signed-off-by: Pavel Tikhomirov <ptikhomirov at 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



More information about the Devel mailing list