diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2009-11-02 10:43:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-02 12:41:29 +0100 |
commit | 654d1f8a019dfa06df8355248e1ce222f303b88d (patch) | |
tree | a3cc01a84509099099d88cc17bf5c0850355525a /fs/bio-integrity.c | |
parent | pppoe: RCU locking in get_item_by_addr() (diff) | |
download | linux-654d1f8a019dfa06df8355248e1ce222f303b88d.tar.xz linux-654d1f8a019dfa06df8355248e1ce222f303b88d.zip |
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 <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/bio-integrity.c')
0 files changed, 0 insertions, 0 deletions