Commit 4c906c27 authored by Venkat Venkatsubra's avatar Venkat Venkatsubra Committed by David S. Miller

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: default avatarVenkat Venkatsubra <>
Acked-by: default avatarRoopa Prabhu <>
Signed-off-by: default avatarDavid S. Miller <>
parent 07c21715
......@@ -563,6 +563,8 @@ int br_del_if(struct net_bridge *br, struct net_device *dev)
dev_set_mtu(br->dev, br_min_mtu(br));
changed_addr = br_stp_recalculate_bridge_id(br);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment