[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150514.174136.1751915445355356147.davem@davemloft.net>
Date: Thu, 14 May 2015 17:41:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: willemb@...gle.com
Cc: netdev@...r.kernel.org, eric.dumazet@...il.com
Subject: Re: [PATCH net-next v2] packet: fix warnings in rollover lock
contention
From: Willem de Bruijn <willemb@...gle.com>
Date: Thu, 14 May 2015 15:25:02 -0400
> From: Willem de Bruijn <willemb@...gle.com>
>
> Avoid two xchg calls whose return values were unused, causing a
> warning on some architectures.
>
> The relevant variable is a hint and read without mutual exclusion.
> This fix makes all writers hold the receive_queue lock.
>
> Suggested-by: David S. Miller <davem@...emloft.net>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Looks great, thanks for dealing with the locking problem.
--
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