Re: [PATCHv6 net-next 4/4] net: bridge: use common function to compute the features
Sabrina Dubroca <[email protected]>
| Newsgroups | gmane.linux.network.bridge,gmane.linux.network |
|---|---|
| Message-ID | <aPX-O9vPowb_tb2U@krikkit> |
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 <[email protected]> > --- > net/bridge/br_if.c | 22 +++------------------- > 1 file changed, 3 insertions(+), 19 deletions(-) Reviewed-by: Sabrina Dubroca <[email protected]> -- Sabrina