> > Looks like the ptype_base[] should be per 'dev'? > > Or just put entries where ptype->dev != null_or_dev on a per-interface > > list and do two searches? > > Yes, but then we would have two searches instead of one in fast path.
Usually it would be empty - so the search would be very quick! David