diff options
author | Saeed Mahameed <[email protected]> | 2022-11-22 10:41:58 -0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-22 20:41:31 -0800 |
commit | c90b6b1005ec7423c7d0063eb27a9728498f6ec8 (patch) | |
tree | 743fa74c93780bf8197c07bfdc0c24fdeff10510 /tools/perf/scripts/python/stackcollapse.py | |
parent | c43c0e589e69f5bc49932b03a920dd2392385d37 (diff) |
tcp: Fix build break when CONFIG_IPV6=n
The cited commit caused the following build break when CONFIG_IPV6 was
disabled
net/ipv4/tcp_input.c: In function ‘tcp_syn_flood_action’:
include/net/sock.h:387:37: error: ‘const struct sock_common’ has no member named ‘skc_v6_rcv_saddr’; did you mean ‘skc_rcv_saddr’?
Fix by using inet6_rcv_saddr() macro which handles this situation
nicely.
Fixes: d9282e48c608 ("tcp: Add listening address to SYN flood message")
Signed-off-by: Saeed Mahameed <[email protected]>
Reported-by: Geert Uytterhoeven <[email protected]>
CC: Matthieu Baerts <[email protected]>
CC: Jamie Bainbridge <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions