aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/netfilter
diff options
context:
space:
mode:
authorHimangi Saraogi <himangi774@gmail.com>2014-07-25 01:47:16 +0530
committerPablo Neira Ayuso <pablo@netfilter.org>2014-07-25 14:50:58 +0200
commit5bd3a76f4ba37108101c2ae93172571a70505982 (patch)
tree81cea285ac4e7d04235448370a26735ee2358fcc /net/ipv4/netfilter
parentnetfilter: xt_hashlimit: perform garbage collection from process context (diff)
downloadlinux-dev-5bd3a76f4ba37108101c2ae93172571a70505982.tar.xz
linux-dev-5bd3a76f4ba37108101c2ae93172571a70505982.zip
netfilter: nf_conntrack: remove exceptional & on function name
In this file, function names are otherwise used as pointers without &. A simplified version of the Coccinelle semantic patch that makes this change is as follows: // <smpl> @r@ identifier f; @@ f(...) { ... } @@ identifier r.f; @@ - &f + f // </smpl> Signed-off-by: Himangi Saraogi <himangi774@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv4/netfilter')
-rw-r--r--net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
index 4ce44c4bc57b..a054fe083431 100644
--- a/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
+++ b/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
@@ -358,7 +358,7 @@ static struct nf_sockopt_ops so_getorigdst = {
.pf = PF_INET,
.get_optmin = SO_ORIGINAL_DST,
.get_optmax = SO_ORIGINAL_DST+1,
- .get = &getorigdst,
+ .get = getorigdst,
.owner = THIS_MODULE,
};