diff --git a/[refs] b/[refs] index eb4a5fee37ac..d049c78c9268 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 115924b6bdc7cc6bf7da5b933b09281e1f4e17a9 +refs/heads/master: b2a5decddbe295d09c29d4a8078cdc47a55346df diff --git a/trunk/net/phonet/af_phonet.c b/trunk/net/phonet/af_phonet.c index ed65da251b6a..526d0273991a 100644 --- a/trunk/net/phonet/af_phonet.c +++ b/trunk/net/phonet/af_phonet.c @@ -44,7 +44,7 @@ static struct phonet_protocol *phonet_proto_get(int protocol) return NULL; rcu_read_lock(); - pp = proto_tab[protocol]; + pp = rcu_dereference(proto_tab[protocol]); if (pp && !try_module_get(pp->prot->owner)) pp = NULL; rcu_read_unlock();