X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=net%2F802%2Fstp.c;fp=net%2F802%2Fstp.c;h=978c30b1b36b5a138eeeb7b9780009686f356d6e;hb=690c12d2c8ca50e55a3f507059c780ecdb8fd83f;hp=53c8f77f0ccd1025a7061568b551a1d9631c0dd1;hpb=f639011b4020a8230c8d09866f6eaadcb12e8dde;p=mv-sheeva.git diff --git a/net/802/stp.c b/net/802/stp.c index 53c8f77f0cc..978c30b1b36 100644 --- a/net/802/stp.c +++ b/net/802/stp.c @@ -21,8 +21,8 @@ #define GARP_ADDR_MAX 0x2F #define GARP_ADDR_RANGE (GARP_ADDR_MAX - GARP_ADDR_MIN) -static const struct stp_proto *garp_protos[GARP_ADDR_RANGE + 1] __read_mostly; -static const struct stp_proto *stp_proto __read_mostly; +static const struct stp_proto __rcu *garp_protos[GARP_ADDR_RANGE + 1] __read_mostly; +static const struct stp_proto __rcu *stp_proto __read_mostly; static struct llc_sap *sap __read_mostly; static unsigned int sap_registered;