Skip to content
Commit 6b660c41 authored by Taehee Yoo's avatar Taehee Yoo Committed by David S. Miller
Browse files

net: openvswitch: do not update max_headroom if new headroom is equal to old headroom



When a vport is deleted, the maximum headroom size would be changed.
If the vport which has the largest headroom is deleted,
the new max_headroom would be set.
But, if the new headroom size is equal to the old headroom size,
updating routine is unnecessary.

Signed-off-by: default avatarTaehee Yoo <ap420073@gmail.com>
Tested-by: default avatarGreg Rose <gvrose8192@gmail.com>
Reviewed-by: default avatarGreg Rose <gvrose8192@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9db7e618
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