diff mbox

[ovs-dev] netlink: Correct comment for nl_msg_put_unspec().

Message ID 1501186548-97060-1-git-send-email-jpettit@ovn.org
State Accepted
Headers show

Commit Message

Justin Pettit July 27, 2017, 8:15 p.m. UTC
Signed-off-by: Justin Pettit <jpettit@ovn.org>
---
 lib/netlink.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Joe Stringer July 27, 2017, 9:11 p.m. UTC | #1
On 27 July 2017 at 13:15, Justin Pettit <jpettit@ovn.org> wrote:
> Signed-off-by: Justin Pettit <jpettit@ovn.org>
> ---

Acked-by: Joe Stringer <joe@ovn.org>
Justin Pettit July 27, 2017, 9:13 p.m. UTC | #2
> On Jul 27, 2017, at 2:11 PM, Joe Stringer <joe@ovn.org> wrote:
> 
> On 27 July 2017 at 13:15, Justin Pettit <jpettit@ovn.org> wrote:
>> Signed-off-by: Justin Pettit <jpettit@ovn.org>
>> ---
> 
> Acked-by: Joe Stringer <joe@ovn.org>

Thanks.  Pushed to master.

--Justin
diff mbox

Patch

diff --git a/lib/netlink.c b/lib/netlink.c
index 4cf1aaca621c..de3ebcd0e792 100644
--- a/lib/netlink.c
+++ b/lib/netlink.c
@@ -235,8 +235,7 @@  nl_msg_put_unspec_zero(struct ofpbuf *msg, uint16_t type, size_t size)
 
 /* Appends a Netlink attribute of the given 'type' and the 'size' bytes of
  * 'data' as its payload, to the tail end of 'msg', reallocating and copying
- * its data if necessary.  Returns a pointer to the first byte of data in the
- * attribute, which is left uninitialized. */
+ * its data if necessary. */
 void
 nl_msg_put_unspec(struct ofpbuf *msg, uint16_t type,
                   const void *data, size_t size)