diff options
author | Richard Gobert <[email protected]> | 2022-12-08 15:54:46 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-12-12 10:01:58 +0000 |
commit | 526682b458b1b56d2e0db027df535cb5cdcfde59 (patch) | |
tree | 81516ba01c754be18841af8247706da83058405e /tools/perf/scripts/python/compaction-times.py | |
parent | 1b1661f68b5f2b8ead9de3510cf6c1c7751863a4 (diff) |
net: setsockopt: fix IPV6_UNICAST_IF option for connected sockets
Change the behaviour of ip6_datagram_connect to consider the interface
set by the IPV6_UNICAST_IF socket option, similarly to udpv6_sendmsg.
This change is the IPv6 counterpart of the fix for IP_UNICAST_IF.
The tests introduced by that patch showed that the incorrect
behavior is present in IPv6 as well.
This patch fixes the broken test.
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Fixes: 0e4d354762ce ("net-next: Fix IP_UNICAST_IF option behavior for connected sockets")
Signed-off-by: Richard Gobert <[email protected]>
Reviewed-by: David Ahern <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions