diff options
author | Patrick McHardy | 2013-04-17 08:47:08 +0200 |
---|---|---|
committer | David S. Miller | 2013-04-19 20:58:36 +0200 |
commit | ec464e5dc504a164c5dbff4a06812d495e44e34d (patch) | |
tree | 65ae126d17ef24af8881bf43def9a9885ea440ae /include/net/netfilter/nf_conntrack_expect.h | |
parent | netlink: add documentation for memory mapped I/O (diff) | |
download | kernel-qcow2-linux-ec464e5dc504a164c5dbff4a06812d495e44e34d.tar.gz kernel-qcow2-linux-ec464e5dc504a164c5dbff4a06812d495e44e34d.tar.xz kernel-qcow2-linux-ec464e5dc504a164c5dbff4a06812d495e44e34d.zip |
netfilter: rename netlink related "pid" variables to "portid"
Get rid of the confusing mix of pid and portid and use portid consistently
for all netlink related socket identities.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/netfilter/nf_conntrack_expect.h')
-rw-r--r-- | include/net/netfilter/nf_conntrack_expect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/netfilter/nf_conntrack_expect.h b/include/net/netfilter/nf_conntrack_expect.h index cbbae7621e22..3f3aecbc8632 100644 --- a/include/net/netfilter/nf_conntrack_expect.h +++ b/include/net/netfilter/nf_conntrack_expect.h @@ -88,7 +88,7 @@ nf_ct_find_expectation(struct net *net, u16 zone, const struct nf_conntrack_tuple *tuple); void nf_ct_unlink_expect_report(struct nf_conntrack_expect *exp, - u32 pid, int report); + u32 portid, int report); static inline void nf_ct_unlink_expect(struct nf_conntrack_expect *exp) { nf_ct_unlink_expect_report(exp, 0, 0); @@ -106,7 +106,7 @@ void nf_ct_expect_init(struct nf_conntrack_expect *, unsigned int, u_int8_t, u_int8_t, const __be16 *, const __be16 *); void nf_ct_expect_put(struct nf_conntrack_expect *exp); int nf_ct_expect_related_report(struct nf_conntrack_expect *expect, - u32 pid, int report); + u32 portid, int report); static inline int nf_ct_expect_related(struct nf_conntrack_expect *expect) { return nf_ct_expect_related_report(expect, 0, 0); |