]> Pileus Git - ~andy/linux/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)
commit75db601496e97ffa2476dcd00053c0ca95e977a5
treebccdaff6af770f13cd04ee0fa79692a4549a6ec5
parentf4685fa6d0427c3948a5120a9658fad7ae81facd
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