aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2022-06-30 10:26:18 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2022-07-05 11:51:30 +0200
commit2064a132c0de3426d5ba43023200994e0c77e652 (patch)
treec6514f108386fd60ce0450ac34c5ae767036e6e6 /tools/perf/scripts/python/exported-sql-viewer.py
parentselftests/bpf: Skip lsm_cgroup when we don't have trampolines (diff)
downloadlinux-2064a132c0de3426d5ba43023200994e0c77e652.tar.gz
linux-2064a132c0de3426d5ba43023200994e0c77e652.zip
bpf: Omit superfluous address family check in __bpf_skc_lookup
family is only set to either AF_INET or AF_INET6 based on len. In all other cases we return early. Thus the check against AF_UNSPEC can be omitted. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220630082618.15649-1-tklauser@distanz.ch
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions