From: Eric Dumazet Date: Mon, 2 Nov 2009 09:43:32 +0000 (+0100) Subject: packet: less dev_put() calls X-Git-Tag: v2.6.33-rc1~388^2~561 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=654d1f8a019dfa06df8355248e1ce222f303b88d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed