aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2009-11-02 10:43:32 +0100
committerDavid S. Miller <[email protected]>2009-11-02 03:41:29 -0800
commit654d1f8a019dfa06df8355248e1ce222f303b88d (patch)
treea3cc01a84509099099d88cc17bf5c0850355525a /tools/perf/scripts/python
parent1178f66eaea968d093cafd37c226ebeaa70d56cf (diff)
packet: less dev_put() calls
- packet_sendmsg_spkt() can use dev_get_by_name_rcu() to avoid touching device refcount. - packet_getname_spkt() & packet_getname() can use dev_get_by_index_rcu() to avoid touching device refcount too. tpacket_snd() & packet_snd() can not use RCU yet because they can sleep when allocating skb. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions