Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Feb 2022 08:55:56 -0800
From:      Gleb Smirnoff <glebius@freebsd.org>
To:        Marko Zec <zec@fer.hr>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 91f44749c6fe - main - ifnet: make if_index global
Message-ID:  <Yfq3nI%2BJSrto%2BQSg@FreeBSD.org>
In-Reply-To: <YfmfYLNInCwYqa6F@FreeBSD.org>
References:  <202201270600.20R601qd059593@gitrepo.freebsd.org> <20220129162034.6cda27df@x25> <Yfg5dGhRV6MYDxDb@FreeBSD.org> <20220201004657.0895641e@x25> <YfmfYLNInCwYqa6F@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
  Marko,

I have thought more on that and I can suggest a compromise
where I would make the ifindex back virtualized and the
mbuf pointer serialization would use it.  This will lead
to awkward effects when restoring an if_vmoved interface,
and for such interfaces will leave the panics where they
are now.

Back in December this approach lead to dummynet tests to
keep panicing, however fixing real life scenatios. But now,
with 80fc25025ff, I suppose it shall pass all tests and
indeed fix the problem for real life scenarios.

-- 
Gleb Smirnoff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Yfq3nI%2BJSrto%2BQSg>