From: Willem de Bruijn Date: Thu, 14 May 2015 19:25:02 +0000 (-0400) Subject: packet: fix warnings in rollover lock contention X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~289 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d7c01d3ed699cfc213115eaecfe1175cfaff8f;p=pandora-kernel.git packet: fix warnings in rollover lock contention 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 Signed-off-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed