aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGao Feng <fgao@ikuai8.com>2016-12-07 08:44:47 +0800
committerDavid S. Miller <davem@davemloft.net>2016-12-07 13:21:21 -0500
commit48140a210b450db229cc9dd927480f65537dc7eb (patch)
tree0078eb96dc44fa67f8cad6e5ebf5678991820352 /tools/perf/scripts/python/export-to-postgresql.py
parentbpf: fix loading of BPF_MAXINSNS sized programs (diff)
downloadlinux-dev-48140a210b450db229cc9dd927480f65537dc7eb.tar.xz
linux-dev-48140a210b450db229cc9dd927480f65537dc7eb.zip
driver: ipvlan: Free ipvl_port directly with kfree instead of kfree_rcu
There are two functions which would free the ipvl_port now. The first is ipvlan_port_create. It frees the ipvl_port in the error handler, so it could kfree it directly. The second is ipvlan_port_destroy. It invokes netdev_rx_handler_unregister which enforces one grace period by synchronize_net firstly, so it also could kfree the ipvl_port directly and safely. So it is unnecessary to use kfree_rcu to free ipvl_port. Signed-off-by: Gao Feng <fgao@ikuai8.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions