[ovs-dev] [PATCH net-next] net: openvswitch: do not update max_headroom if new headroom is equal to old headroom

David Miller davem at davemloft.net
Mon Jul 8 23:08:04 UTC 2019


From: Taehee Yoo <ap420073 at gmail.com>
Date: Sat,  6 Jul 2019 01:08:09 +0900

> 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 at gmail.com>

I'm not so sure about the logic here and I'd therefore like an OVS expert
to review this.

Thanks.


More information about the dev mailing list