On 19/08/15(Wed) 20:10, Alexander Bluhm wrote:
> On Wed, Aug 19, 2015 at 02:41:22PM +0200, Martin Pieuchot wrote:
> > > Diff below converts one of the few remaining iteration on the global
> > > list of interfaces (&ifnet).
>
> > /* Check for local address spoofing. */
> > - if (((ifp =
On Wed, Aug 19, 2015 at 02:41:22PM +0200, Martin Pieuchot wrote:
> > Diff below converts one of the few remaining iteration on the global
> > list of interfaces (&ifnet).
> /* Check for local address spoofing. */
> - if (((ifp = if_get(m->m_pkthdr.ph_ifidx)) == NULL ||
> - !(ifp-
On 09/07/15(Thu) 09:00, Martin Pieuchot wrote:
> Most of the network interrupt paths are now free from global list
> iterations. The rule I tried to follow is simple. If you already
> have an ifp pointer and need a per-ifp resource use it, otherwise
> do a route lookup.
>
> Diff below converts o
Most of the network interrupt paths are now free from global list
iterations. The rule I tried to follow is simple. If you already
have an ifp pointer and need a per-ifp resource use it, otherwise
do a route lookup.
Diff below converts one of the few remaining iteration on the global
list of int