diff options
author | Tobias Klauser <[email protected]> | 2022-06-30 10:26:18 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2022-07-05 11:51:30 +0200 |
commit | 2064a132c0de3426d5ba43023200994e0c77e652 (patch) | |
tree | c6514f108386fd60ce0450ac34c5ae767036e6e6 /tools/perf/scripts/python/libxed.py | |
parent | b0d93b44641a83c28014ca38001e85bf6dc8501e (diff) |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions