mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 08:07:10 +07:00
pptp: fix sparse pointer warning
callid_sock array is referenced via rcu_dereference and sparse rcu checks complains about address space mismatch. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
0f847584a8
commit
469230d118
@ -47,7 +47,7 @@
|
||||
#define MAX_CALLID 65535
|
||||
|
||||
static DECLARE_BITMAP(callid_bitmap, MAX_CALLID + 1);
|
||||
static struct pppox_sock **callid_sock;
|
||||
static struct pppox_sock __rcu **callid_sock;
|
||||
|
||||
static DEFINE_SPINLOCK(chan_lock);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user