diff options
Diffstat (limited to 'net/bridge/br_stp_if.c')
| -rw-r--r-- | net/bridge/br_stp_if.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_stp_if.c b/net/bridge/br_stp_if.c index 0bdb4ebd362..d45e760141b 100644 --- a/net/bridge/br_stp_if.c +++ b/net/bridge/br_stp_if.c @@ -288,6 +288,7 @@ int br_stp_set_path_cost(struct net_bridge_port *p, unsigned long path_cost)  	    path_cost > BR_MAX_PATH_COST)  		return -ERANGE; +	p->flags |= BR_ADMIN_COST;  	p->path_cost = path_cost;  	br_configuration_update(p->br);  	br_port_state_selection(p->br);  |