will be in the maintainance mode on Wednesday June 29th 01:00 - 10:00 (UTC+1). Repositories is read only during the maintainance.

Commit 87fff3ca authored by Yang Wei's avatar Yang Wei Committed by David S. Miller
Browse files

neighbour: Do not perturb drop profiles when neigh_probe

Replace the kfree_skb() by consume_skb() to be drop monitor(dropwatch,
perf) friendly.
Signed-off-by: default avatarYang Wei <>
Signed-off-by: default avatarDavid S. Miller <>
parent 5ab3121b
...@@ -1007,7 +1007,7 @@ static void neigh_probe(struct neighbour *neigh) ...@@ -1007,7 +1007,7 @@ static void neigh_probe(struct neighbour *neigh)
if (neigh->ops->solicit) if (neigh->ops->solicit)
neigh->ops->solicit(neigh, skb); neigh->ops->solicit(neigh, skb);
atomic_inc(&neigh->probes); atomic_inc(&neigh->probes);
kfree_skb(skb); consume_skb(skb);
} }
/* Called when a timer expires for a neighbour entry. */ /* Called when a timer expires for a neighbour entry. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment