[BRIDGE]: recompute features when adding a new device

We must recompute bridge features everytime the list of underlying
devices changes, or we might end up with features that are not
supported by all devices (eg. NETIF_F_TSO)
This patch adds the missing recompute when adding a device to the bridge.

Signed-off-by: Olaf Rempel <razzor@kopf-tisch.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Olaf Rempel and committed by David S. Miller 133747e8 de919820

+1
+1
net/bridge/br_if.c
··· 366 366 367 367 spin_lock_bh(&br->lock); 368 368 br_stp_recalculate_bridge_id(br); 369 + br_features_recompute(br); 369 370 if ((br->dev->flags & IFF_UP) 370 371 && (dev->flags & IFF_UP) && netif_carrier_ok(dev)) 371 372 br_stp_enable_port(p);