]> git.baikalelectronics.ru Git - kernel.git/commit
tools: hv: daemon should check type of received Netlink msg
authorTomas Hozza <thozza@redhat.com>
Wed, 13 Mar 2013 13:14:14 +0000 (14:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Mar 2013 18:23:16 +0000 (11:23 -0700)
commit0ba5904343de3ebd9f29451808683b129090a217
treebccdaff6af770f13cd04ee0fa79692a4549a6ec5
parent07e425b1cb9a2eb47b929792d49f6dd67f82eab7
tools: hv: daemon should check type of received Netlink msg

HyperV KVP daemon should check nlmsg_type in received netlink message
header. If message type is NLMSG_DONE daemon can proceed with processing
otherwise it should wait for next message.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
Acked-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/hv/hv_kvp_daemon.c