[ovs-dev] [PATCH 01/10] netlink: Update comment for nl_dump_start().

Joe Stringer joestringer at nicira.com
Fri Jan 10 19:43:06 UTC 2014


The function comment still referred to a 'msg' variable, which has been
renamed.

Signed-off-by: Joe Stringer <joestringer at nicira.com>
---
 lib/netlink-socket.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/netlink-socket.c b/lib/netlink-socket.c
index 4bd6d36..bf8eb32 100644
--- a/lib/netlink-socket.c
+++ b/lib/netlink-socket.c
@@ -675,9 +675,9 @@ nl_sock_drain(struct nl_sock *sock)
  * Netlink socket created with the given 'protocol', and initializes 'dump' to
  * reflect the state of the operation.
  *
- * nlmsg_len in 'msg' will be finalized to match msg->size, and nlmsg_pid will
- * be set to the Netlink socket's pid, before the message is sent.  NLM_F_DUMP
- * and NLM_F_ACK will be set in nlmsg_flags.
+ * nlmsg_len in 'request' will be finalized to match msg->size, and nlmsg_pid
+ * will be set to the Netlink socket's pid, before the message is sent.
+ * NLM_F_DUMP and NLM_F_ACK will be set in nlmsg_flags.
  *
  * The design of this Netlink socket library ensures that the dump is reliable.
  *
-- 
1.7.9.5




More information about the dev mailing list