]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[BRIDGE]: recompute features when adding a new device
authorOlaf Rempel <razzor@kopf-tisch.de>
Thu, 24 Nov 2005 03:04:08 +0000 (19:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Nov 2005 03:04:08 +0000 (19:04 -0800)
commit133747e8d1e912863edfb3869e36b97b9939d4fc
tree9ae6c1b39bd3dc08a1a8b4b96ba28be0ed553609
parentde919820cf7fe6674cdf47f8f47d2af284e4309f
[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>
net/bridge/br_if.c