diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2015-08-13 14:03:16 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-13 21:40:57 -0700 |
commit | da65ad1fe399d77234a4caa50008c6b87f1fe401 (patch) | |
tree | d000a9bf25ed974f828c7314e0eb2fd51beca21b /net/ipv6/addrconf.c | |
parent | 968d7cb82aad3c6bfada79a8e26d65a1fb3f618a (diff) | |
download | lwn-da65ad1fe399d77234a4caa50008c6b87f1fe401.tar.gz lwn-da65ad1fe399d77234a4caa50008c6b87f1fe401.zip |
net: allow sleeping when modifying store_rps_map
Commit 10e4ea751 ("net: Fix race condition in store_rps_map") has moved the
manipulation of the rps_needed jump label under a spinlock. Since changing
the state of a jump label may sleep this is incorrect and causes warnings
during runtime.
Make rps_map_lock a mutex to allow sleeping under it.
Fixes: 10e4ea751 ("net: Fix race condition in store_rps_map")
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/addrconf.c')
0 files changed, 0 insertions, 0 deletions