The commit is pushed to "branch-rh7-3.10.0-514.26.1.vz7.35.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git after rh7-3.10.0-514.26.1.vz7.35.5 ------> commit df6a3526acfae69476e008569e659ac52374950c Author: Stanislav Kinsburskiy <skinsbur...@virtuozzo.com> Date: Thu Aug 31 17:40:42 2017 +0300
proc connector: use per-ve netlink sender helper 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> --- 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