Re: [PATCH net v3] gtp: serialize PDP context updates
From: Ming Qing
Date: Thu Aug 13 2026 - 12:33:01 EST
> 在 2026/08/11 17:20 CST Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> 写道:
> This can go away too, for gtp_genl_del_pdp(), the mutex replaces this
> incorrect rcu read size lock.
>
> Thanks.
>
> > + mutex_unlock(>p_pdp_lock);
> > return err;
> > }
> >
> > --
> > 2.53.0
> >
gtp_find_pdp() calls gtp_find_dev(), which uses
dev_get_by_index_rcu(). Should I keep a narrow RCU read-side section
around gtp_find_pdp(), while using the mutex to protect the PDP context?
Thanks,
Qing