diff options
author | Taehee Yoo <ap420073@gmail.com> | 2019-07-06 01:08:09 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-12 15:16:58 -0700 |
commit | 6b660c4177aaebdc73df7a3378f0e8b110aa4b51 (patch) | |
tree | e777999ba2b119bc5a47aa746a2a9e273b8f5d5d /drivers | |
parent | 9db7e618fca34d0a7d61c149d726fd90644ecb1e (diff) |
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: Taehee Yoo <ap420073@gmail.com>
Tested-by: Greg Rose <gvrose8192@gmail.com>
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions