summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/include/atomic.h
diff options
context:
space:
mode:
authorAndreas Schultz <aschultz@tpip.net>2017-01-27 10:40:58 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-27 10:39:09 -0500
commit3ab1b469e847ba425af3c5ad5068cc94b55b38d0 (patch)
tree1271f92f74eb06692fdc4699e48ef31c6083c5ec /tools/testing/selftests/futex/include/atomic.h
parentc6ce1d08eede4c2968ed08aafa3165e8e183c5a1 (diff)
gtp: fix cross netns recv on gtp socket
The use of the passed through netlink src_net to check for a cross netns operation was wrong. Using the GTP socket and the GTP netdevice is always correct (even if the netdev has been moved to new netns after link creation). Remove the now obsolete net field from gtp_dev. Signed-off-by: Andreas Schultz <aschultz@tpip.net> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/futex/include/atomic.h')
0 files changed, 0 insertions, 0 deletions
rite+0x6c/0x1e0 vfs_write+0xd0/0x270 SyS_write+0x6c/0x110 system_call+0x38/0xe0 Examination of the queue showed a single reference (no PERCPU_COUNT_BIAS, and __PERCPU_REF_DEAD, __PERCPU_REF_ATOMIC set) and no requests. However, conditions at the time of the race are count of PERCPU_COUNT_BIAS + 0 and __PERCPU_REF_DEAD and __PERCPU_REF_ATOMIC set. The fix is to make the tryget routines use an actual boolean internally instead of the atomic long result truncated to a int. Fixes: e625305b3907 percpu-refcount: make percpu_ref based on longs instead of ints Link: https://bugzilla.kernel.org/show_bug.cgi?id=190751 Signed-off-by: Douglas Miller <dougmill@linux.vnet.ibm.com> Reviewed-by: Jens Axboe <axboe@fb.com> Signed-off-by: Tejun Heo <tj@kernel.org> Fixes: e625305b3907 ("percpu-refcount: make percpu_ref based on longs instead of ints") Cc: stable@vger.kernel.org # v3.18+
Diffstat (limited to 'sound/aoa/codecs/onyx.h')