netlink: Rename pid to portid to avoid confusion
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 7 Sep 2012 20:12:54 +0000 (20:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 19:30:41 +0000 (15:30 -0400)
commit15e473046cb6e5d18a4d0057e61d76315230382b
tree893d2df5d46a6ce156933ac57a1398f0ad22b889
parent9f00d9776bc5beb92e8bfc884a7e96ddc5589e2e
netlink: Rename pid to portid to avoid confusion

It is a frequent mistake to confuse the netlink port identifier with a
process identifier.  Try to reduce this confusion by renaming fields
that hold port identifiers portid instead of pid.

I have carefully avoided changing the structures exported to
userspace to avoid changing the userspace API.

I have successfully built an allyesconfig kernel with this change.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
75 files changed:
crypto/crypto_user.c
drivers/net/team/team.c
drivers/net/wireless/mac80211_hwsim.c
drivers/scsi/scsi_transport_iscsi.c
drivers/staging/gdm72xx/netlink_k.c
fs/dlm/netlink.c
include/linux/netlink.h
include/net/cfg80211.h
include/net/genetlink.h
include/net/netfilter/nf_conntrack_ecache.h
include/net/netlink.h
include/net/nfc/nfc.h
include/net/xfrm.h
kernel/audit.c
kernel/taskstats.c
net/bridge/br_fdb.c
net/bridge/br_netlink.c
net/can/gw.c
net/core/fib_rules.c
net/core/neighbour.c
net/core/rtnetlink.c
net/dcb/dcbnl.c
net/decnet/dn_dev.c
net/decnet/dn_route.c
net/decnet/dn_table.c
net/ieee802154/nl-mac.c
net/ieee802154/nl-phy.c
net/ipv4/devinet.c
net/ipv4/fib_frontend.c
net/ipv4/fib_semantics.c
net/ipv4/fib_trie.c
net/ipv4/inet_diag.c
net/ipv4/ipmr.c
net/ipv4/route.c
net/ipv4/tcp_metrics.c
net/ipv4/udp_diag.c
net/ipv6/addrconf.c
net/ipv6/addrlabel.c
net/ipv6/ip6mr.c
net/ipv6/route.c
net/irda/irnetlink.c
net/key/af_key.c
net/l2tp/l2tp_netlink.c
net/netfilter/ipset/ip_set_core.c
net/netfilter/ipvs/ip_vs_ctl.c
net/netfilter/nf_conntrack_ecache.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nfnetlink_acct.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/nfnetlink_cttimeout.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue_core.c
net/netlabel/netlabel_cipso_v4.c
net/netlabel/netlabel_mgmt.c
net/netlabel/netlabel_unlabeled.c
net/netlink/af_netlink.c
net/netlink/genetlink.c
net/nfc/netlink.c
net/openvswitch/actions.c
net/openvswitch/datapath.c
net/openvswitch/datapath.h
net/openvswitch/vport.c
net/openvswitch/vport.h
net/packet/diag.c
net/phonet/pn_netlink.c
net/sched/act_api.c
net/sched/cls_api.c
net/sched/sch_api.c
net/tipc/netlink.c
net/unix/diag.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c