diff options
| author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-03-29 21:31:27 -0400 |
|---|---|---|
| committer | Bruno Martins <bgcngm@gmail.com> | 2023-11-06 09:28:24 +0000 |
| commit | 538193a5469cc2bd8b4e07aedc2dc49bc35ab209 (patch) | |
| tree | ef63a0ede81ca972e50f66d56b2defc698d99888 /tools/perf/scripts/python | |
| parent | 0568ada37881448609fdd04b427df6d6f40433e8 (diff) | |
socket: ignore v6 endpoints when ipv6 is disabled
The previous commit fixed a memory leak on the send path in the event
that IPv6 is disabled at compile time, but how did a packet even arrive
there to begin with? It turns out we have previously allowed IPv6
endpoints even when IPv6 support is disabled at compile time. This is
awkward and inconsistent. Instead, let's just ignore all things IPv6,
the same way we do other malformed endpoints, in the case where IPv6 is
disabled.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Change-Id: I7def019000309c6d1f9aef695f1d4f63460e59dd
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
