summaryrefslogtreecommitdiff
path: root/security/tomoyo/util.c
diff options
context:
space:
mode:
authorTonghao Zhang <xiangxia.m.yue@gmail.com>2019-11-01 17:23:46 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-04 04:18:03 +0300
commit4bc63b1b531df518576a97d17bf5939fdbc33ccb (patch)
tree70129ddfe828b658bf1eb05d1e5c26632a94ecfa /security/tomoyo/util.c
parent04b7d136d015f220b1003e6c573834658d507a31 (diff)
downloadlinux-4bc63b1b531df518576a97d17bf5939fdbc33ccb.tar.xz
net: openvswitch: convert mask list in mask array
Port the codes to linux upstream and with little changes. Pravin B Shelar, says: | mask caches index of mask in mask_list. On packet recv OVS | need to traverse mask-list to get cached mask. Therefore array | is better for retrieving cached mask. This also allows better | cache replacement algorithm by directly checking mask's existence. Link: https://github.com/openvswitch/ovs/commit/d49fc3ff53c65e4eca9cabd52ac63396746a7ef5 Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Tested-by: Greg Rose <gvrose8192@gmail.com> Acked-by: William Tu <u9012063@gmail.com> Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/tomoyo/util.c')
0 files changed, 0 insertions, 0 deletions