Re: [PATCH nf v2 1/1] bridge: br_netfilter: move fake rtable off struct net_bridge
Florian Westphal <[email protected]> Thu, 4 Jun 2026 01:40:36 +0200
| Newsgroups | dev.linux.lists.bridge,org.kernel.vger.netfilter-devel |
|---|---|
| Message-ID | <[email protected]> |
Florian Westphal <[email protected]> wrote: > Ren Wei <[email protected]> wrote: > > Use rt_dst_alloc() so the fake dst reuses the core IPv4 rtable > > lifecycle, and release the bridge device reference during teardown via > > dst_dev_put() before dropping the bridge-owned dst reference. > > I think AI review is mostly correct: > https://sashiko.dev/#/patchset/831936f111e6e1f435f4f6247d07fe6a6624d271.1779680014.git.royenheart%40gmail.com > > - no need for constant refcount bump > - I don't think the ipv4 specific functions can be used safely here. Are you going to send a new version or should this be treated as a bug report? Thanks.