Skip to content
Commit 685c7944 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

icmp: icmp_send() can avoid a dev_put()



We can avoid touching device refcount in icmp_send(),
using dev_get_by_index_rcu()

Signed-off-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c148fc2e
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