commit | 1689754de624a19e37a2f96289f4421466771687 | [log] [tgz] |
---|---|---|
author | Tonghao Zhang <xiangxia.m.yue@gmail.com> | Fri Nov 01 22:23:47 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Nov 03 17:18:03 2019 -0800 |
tree | b4c649d18ffa936d68eff22195874761052a5d56 | |
parent | 4bc63b1b531df518576a97d17bf5939fdbc33ccb [diff] |
net: openvswitch: shrink the mask array if necessary When creating and inserting flow-mask, if there is no available flow-mask, we realloc the mask array. When removing flow-mask, if necessary, we shrink mask array. Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Tested-by: Greg Rose <gvrose8192@gmail.com> Acked-by: William Tu <u9012063@gmail.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>