[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1412941652.9362.8.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Fri, 10 Oct 2014 04:47:32 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Cc: Eric Dumazet <edumazet@...gle.com>,
"David S. Miller" <davem@...emloft.net>,
netdev <netdev@...r.kernel.org>,
Alexander Duyck <alexander.h.duyck@...hat.com>,
Andres Lagar-Cavilla <andreslc@...gle.com>,
Greg Thelen <gthelen@...gle.com>,
Hugh Dickins <hughd@...gle.com>,
David Rientjes <rientjes@...gle.com>
Subject: Re: [PATCH net 2/5] igb: fix race accessing page->_count
On Thu, 2014-10-09 at 22:55 -0700, Jeff Kirsher wrote:
> On Thu, Oct 9, 2014 at 10:24 PM, Eric Dumazet <edumazet@...gle.com> wrote:
> > This is illegal to use atomic_set(&page->_count, 2) even if we 'own'
> > the page. Other entities in the kernel need to use get_page_unless_zero()
> > to get a reference to the page before testing page properties, so we could
> > loose a refcount increment.
> >
> > Signed-off-by: Eric Dumazet <edumazet@...gle.com>
>
> Acked-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
>
> Since this is apart of a series, if the changes to skbuff are ok, then
> the changes to the Intel drivers are ok.
Thanks Jeff, I am sending v2 including your Acked-by and ixgbe title
fix.
--
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