[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110801.015606.1882260753384583237.davem@davemloft.net>
Date: Mon, 01 Aug 2011 01:56:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ip6tnl: avoid touching dst refcount in ip6_tnl_xmit2()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 28 Jul 2011 16:32:25 +0200
> Even using percpu stats, we still hit tunnel dst_entry refcount in
> ip6_tnl_xmit2()
>
> Since we are in RCU locked section, we can use skb_dst_set_noref() and
> avoid these atomic operations, leaving dst shared on cpus.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Queued up for net-next
--
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