Re: [PATCH 0/3] kernel/nsproxy: Minor nsproxy code simplification
From: Joel Savitz
Date: Mon Jul 07 2025 - 10:37:35 EST
On Tue, Jul 1, 2025 at 12:41 PM Joel Savitz <jsavitz@xxxxxxxxxx> wrote:
>
> On Wed, Jun 18, 2025 at 3:49 PM Joel Savitz <jsavitz@xxxxxxxxxx> wrote:
> >
> > On Mon, Jun 9, 2025 at 10:23 AM Joel Savitz <jsavitz@xxxxxxxxxx> wrote:
> > >
> > > On Fri, May 30, 2025 at 4:03 PM Joel Savitz <jsavitz@xxxxxxxxxx> wrote:
> > > >
> > > > The first patch removes an unnecessary guard by the same logic as
> > > > commit 5caa2d89b7f1 ("kernel/nsproxy: remove unnecessary guards").
> > > >
> > > > The second patch fixes the total ordering of resource acquisition
> > > > in validate_nsset().
> > > >
> > > > The third patch implements usage of the cleanup helper added by commit
> > > > d057c108155a ("nsproxy: add a cleanup helper for nsproxy").
> > > >
> > > > Joel Savitz (3):
> > > > kernel/nsproxy: remove unnecessary guard in validate_nsset()
> > > > kernel/nsproxy: fix put_*() call ordering in validate_nsset()
> > > > kernel/nsproxy: utilize cleanup helper for nsproxy references
> > > >
> > > > kernel/nsproxy.c | 12 +++---------
> > > > 1 file changed, 3 insertions(+), 9 deletions(-)
> > > >
> > > > --
> > > > 2.45.2
> > > >
> > >
> > > ping
> >
> > ping 2
>
> ping 3
ping 4