[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091102.034257.226927042.davem@davemloft.net>
Date: Mon, 02 Nov 2009 03:42:57 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] packet: less dev_put() calls
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 02 Nov 2009 10:43:32 +0100
> - 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@...il.com>
You're unstoppable :-)
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists