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>
This commit is contained in:

committed by
David S. Miller

parent
a92a0a7b8e
commit
fc651001d2
@@ -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;
|
||||
|
Reference in New Issue
Block a user