summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2015-05-14 15:25:02 -0400
committerDavid S. Miller <davem@davemloft.net>2015-05-14 17:40:54 -0400
commit54d7c01d3ed699cfc213115eaecfe1175cfaff8f (patch)
treea3549400cc77b55a19ea400a3f6623f461739139 /mm
parent4ffd3c730e7ba2eb53a427f1a2bba2eec5f2d97b (diff)
downloadop-kernel-dev-54d7c01d3ed699cfc213115eaecfe1175cfaff8f.zip
op-kernel-dev-54d7c01d3ed699cfc213115eaecfe1175cfaff8f.tar.gz
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 <davem@davemloft.net> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud