[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20131218131939.edf8a9f73b9af441773afe0d@canb.auug.org.au>
Date: Wed, 18 Dec 2013 13:19:39 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Jesse Brandeburg <jesse.brandeburg@...el.com>,
Anjali Singhai Jain <anjali.singhai@...el.com>
Subject: Re: linux-next: manual merge of the net-next tree with Linus' tree
Hi Jeff,
On Tue, 17 Dec 2013 17:56:09 -0800 Jeff Kirsher <jeffrey.t.kirsher@...el.com> wrote:
>
> Your fix is fine, what I have in my tree is the following, so if you
> want to modify your change so that the resultant code looks like this:
>
> struct rtnl_link_stats64 *vsi_stats =
> i40e_get_vsi_stats_struct(vsi);
> int i;
>
> if (test_bit(__I40E_DOWN, &vsi->state))
> return stats;
>
> if (!vsi->tx_rings)
> return stats;
>
> rcu_read_lock();
> for (i = 0; i < vsi->num_queue_pairs; i++) {
OK, I updated my rerere cache, so it will look like that tomorrow.
Thanks.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists