bridge: reset bridge mtu after deleting an interface
authorVenkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Fri, 13 Mar 2015 14:08:22 +0000 (07:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2015 23:12:38 +0000 (19:12 -0400)
commit4c906c279886550d2aaac6facf71d709158e4e3c
tree51bb451bc9b611be9d4414b30e5176133b8bd9c6
parent07c2171570247639d24f2f5f1565cc358192d43e
bridge: reset bridge mtu after deleting an interface

On adding an interface br_add_if() sets the MTU to the min of
all the interfaces. Do the same thing on removing an interface too
in br_del_if.

Signed-off-by: Venkat Venkatsubra <venkat.x.venkatsubra@oracle.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_if.c