Revision 1f3a090b9033f69de380c03db3ea1a1015c850cf authored by Tonghao Zhang on 12 August 2020, 09:56:39 UTC, committed by David S. Miller on 13 August 2020, 22:53:30 UTC
To avoid some issues, for example RCU usage warning and double free, we should flush the flows under ovs_lock. This patch refactors table_instance_destroy and introduces table_instance_flow_flush which can be invoked by __dp_destroy or ovs_flow_tbl_flush. Fixes: 50b0e61b32ee ("net: openvswitch: fix possible memleak on destroy flow-table") Reported-by: Johan Knöös <jknoos@google.com> Reported-at: https://mail.openvswitch.org/pipermail/ovs-discuss/2020-August/050489.html Signed-off-by: Tonghao Zhang <xiangxia.m.yue@gmail.com> Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 88fd1cb
File | Mode | Size |
---|---|---|
dnotify | ||
fanotify | ||
inotify | ||
Kconfig | -rw-r--r-- | 188 bytes |
Makefile | -rw-r--r-- | 183 bytes |
fdinfo.c | -rw-r--r-- | 4.2 KB |
fdinfo.h | -rw-r--r-- | 558 bytes |
fsnotify.c | -rw-r--r-- | 11.2 KB |
fsnotify.h | -rw-r--r-- | 2.3 KB |
group.c | -rw-r--r-- | 4.0 KB |
mark.c | -rw-r--r-- | 24.9 KB |
notification.c | -rw-r--r-- | 5.6 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...