Re: [PATCH nf-next 2/3] netfilter: flowtable: update upper device stats in the fast path

From: Florian Westphal

Date: Wed Oct 21 2026 - 04:08:37 EST


Julius Bairaktaris <julius@xxxxxxxxxxxxxx> wrote:
> On Sun, Oct 18, 2026 at 03:53:40AM +0200, Pablo Neira Ayuso wrote:
> > I mentioned it is a feature that these counters are not bumped,
> > because packets are not passing through this devices in the bypass.
> >
> > This allows users to see what packets follow classic path?

+1

> OpenWrt users report it as a bug. On my router a 268 MB download moved
> 0.15 MB on br-lan, while the port below it counted all of it.

Whats your plan when users report the proposed new behaviour (always
account to the virtual parent device) as a bug?

Conceptually, with flowtable, offloaded packets bypass that device entirely
and therefore should not touch stats of the virtual device. At least
thats how I'd expect it to behave.