aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorTaehee Yoo <[email protected]>2018-10-24 20:15:17 +0900
committerDaniel Borkmann <[email protected]>2018-10-26 00:32:21 +0200
commitf592f804831f1cf9d1f9966f58c80f150e6829b5 (patch)
tree1b4368acf0867c3ace26466ee8b44e20755acf34 /tools/perf/scripts/python/export-to-postgresql.py
parent42d0f71c9b5fd48861d61cfc05c9e001f847c9d5 (diff)
bpf: devmap: fix wrong interface selection in notifier_call
The dev_map_notification() removes interface in devmap if unregistering interface's ifindex is same. But only checking ifindex is not enough because other netns can have same ifindex. so that wrong interface selection could occurred. Hence netdev pointer comparison code is added. v2: compare netdev pointer instead of using net_eq() (Daniel Borkmann) v1: Initial patch Fixes: 2ddf71e23cc2 ("net: add notifier hooks for devmap bpf map") Signed-off-by: Taehee Yoo <[email protected]> Acked-by: Song Liu <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions