Re: [PATCHv6 net-next 4/4] net: bridge: use common function to compute the features

Sabrina Dubroca
2025-10-20T09:17:51Z

2025-10-17, 03:41:55 +0000, Hangbin Liu wrote:
> Previously, bridge ignored all features propagation and DST retention,
> only handling explicitly the GSO limits.
>
> By switching to the new helper netdev_compute_master_upper_features(), the bridge
> now expose additional features, depending on the lowers capabilities.
>
> Since br_set_gso_limits() is already covered by the helper, it can be
> removed safely.
>
> Bridge has it's own way to update needed_headroom. So we don't need to
> update it in the helper.
>
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> net/bridge/br_if.c | 22 +++-------------------
> 1 file changed, 3 insertions(+), 19 deletions(-)

Reviewed-by: Sabrina Dubroca <sd@queasysnail.net>

--
Sabrina