Discussion:
[PATCH net] netlink: fix description of portid
Nicolas Dichtel
2014-10-16 13:47:51 UTC
Permalink
Avoid confusion between pid and portid.

Signed-off-by: Nicolas Dichtel <***@6wind.com>
---
include/net/netlink.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/net/netlink.h b/include/net/netlink.h
index 6c1076275aaa..7b903e1bdbbb 100644
--- a/include/net/netlink.h
+++ b/include/net/netlink.h
@@ -431,7 +431,7 @@ static inline int nlmsg_report(const struct nlmsghdr *nlh)
/**
* nlmsg_put - Add a new netlink message to an skb
* @skb: socket buffer to store message in
- * @portid: netlink process id
+ * @portid: netlink PORTID of requesting application
* @seq: sequence number of message
* @type: message type
* @payload: length of message payload
--
2.1.0
David Miller
2014-10-16 18:53:06 UTC
Permalink
From: Nicolas Dichtel <***@6wind.com>
Date: Thu, 16 Oct 2014 15:47:51 +0200
Post by Nicolas Dichtel
Avoid confusion between pid and portid.
Applied, thanks Nicolas.

We've been plagued by this confusion forever, because the value used to
even be stored in struct members and variables named 'pid'.

Loading...