summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-05-22 21:22:21 +0200
committerDavid S. Miller <davem@davemloft.net>2019-05-23 02:50:24 +0200
commitfc651001d2c5ca4f8b87efae2edb69fca94a6365 (patch)
tree7d06f313ea04c10863a802217891321339399d93 /net
parentselftests: pmtu: Simplify cleanup and namespace names (diff)
downloadlinux-fc651001d2c5ca4f8b87efae2edb69fca94a6365.tar.xz
linux-fc651001d2c5ca4f8b87efae2edb69fca94a6365.zip
neighbor: Add tracepoint to __neigh_create
Add tracepoint to __neigh_create to enable debugging of new entries. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/neighbour.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index dfa871061f14..a5556e4d3f96 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -587,6 +587,8 @@ static struct neighbour *___neigh_create(struct neigh_table *tbl,
int error;
struct neigh_hash_table *nht;
+ trace_neigh_create(tbl, dev, pkey, n, exempt_from_gc);
+
if (!n) {
rc = ERR_PTR(-ENOBUFS);
goto out;