]> git.ipfire.org Git - thirdparty/libvirt.git/commit
macvtap: fix 2 nla_put expressions (non-serious bug)
authorStefan Berger <stefanb@us.ibm.com>
Thu, 3 Feb 2011 19:36:27 +0000 (14:36 -0500)
committerStefan Berger <stefanb@us.ibm.com>
Thu, 3 Feb 2011 19:36:27 +0000 (14:36 -0500)
commitbe23e2bd655ce1672b7b7d4aeb082e9b9d18facf
treec4b0b8b92e26ae511fb47e553a878232ccfd0669
parent9962e406c664ed5521f5aca500c860a331cb3979
macvtap: fix 2 nla_put expressions (non-serious bug)

This patch fixes 2 occurrences of nla_put expression with a '!' in
front of them that basically prevented the detection that the buffer
is too small. However, code further below would then detect that the
buffer is too small when further parts are added to the netlink message.
src/util/macvtap.c