Required to send event in the network to the right listener. Signed-off-by: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com> --- drivers/connector/cn_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c index df6553d..17e0247 100644 --- a/drivers/connector/cn_proc.c +++ b/drivers/connector/cn_proc.c @@ -115,7 +115,7 @@ static void proc_event_connector(struct task_struct *task, return; /* If cn_netlink_send() failed, the data is not sent */ - cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); + cn_netlink_send_ve(ve, msg, CN_IDX_PROC, GFP_KERNEL); } static bool fill_fork_event(struct proc_event *ev, struct ve_struct *ve, @@ -302,7 +302,7 @@ static void cn_proc_ack(struct ve_struct *ve, int err, int rcvd_seq, int rcvd_ac msg->ack = rcvd_ack + 1; msg->len = sizeof(*ev); msg->flags = 0; /* not used */ - cn_netlink_send(msg, CN_IDX_PROC, GFP_KERNEL); + cn_netlink_send_ve(ve, msg, CN_IDX_PROC, GFP_KERNEL); } /** _______________________________________________ Devel mailing list Devel@openvz.org https://lists.openvz.org/mailman/listinfo/devel