diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-17 18:50:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-19 15:44:18 -0500 |
commit | 3eb47dfca0b245d88a4c30b8e41204036e0882e4 (patch) | |
tree | 115104fbfb19925c32ca1ed754f5a634b94bc498 /drivers/net/ethernet/ti/davinci_mdio.c | |
parent | e1740fb6c111986a7af96a44ff794b2ba75abb2e (diff) |
nfp: protect each repr pointer individually with RCU
Representors are grouped in sets by type. Currently the whole
sets are under RCU protection, but individual representor pointers
are not. This causes some inconveniences when representors have
to be destroyed, because we have to allocate new sets to remove
any representors. Protect the individual pointers with RCU.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_mdio.c')
0 files changed, 0 insertions, 0 deletions