Revision tags: release/14.0.0, release/13.2.0 |
|
#
f63825ff |
| 29-Dec-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
testing: improve python vnet wrapper.
* Derive jail name from class name and method name, instead of just method name. This change reduces the chances of different tests clashing. Old: 'jail_test_o
testing: improve python vnet wrapper.
* Derive jail name from class name and method name, instead of just method name. This change reduces the chances of different tests clashing. Old: 'jail_test_one'. New: 'pytest:TestExampleSimplest:test_one' * Simplify vnetX_handler() method signature by skipping obj_map (unused) and pipe. The latter can be accessed as the vnet property. * Add `send_object()` method as a pair to the `wait_object` inside the VnetTestTemplate class. * Add `test_id` property to the BaseTest method. Previously it was provided only for the VnetTestTemplate class. This change makes the identifier easily accessible for all users.
MFC after: 2 weeks
show more ...
|
Revision tags: release/12.4.0 |
|
#
50fa27e7 |
| 10-Jul-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netinet6: fix interface handling for loopback traffic
Currently, processing of IPv6 local traffic is partially broken: link-local connection fails and global unicast connect() takes 3 seconds to c
netinet6: fix interface handling for loopback traffic
Currently, processing of IPv6 local traffic is partially broken: link-local connection fails and global unicast connect() takes 3 seconds to complete. This happens due to the combination of multiple factors. IPv6 code passes original interface "origifp" when passing traffic via loopack to retain the scope that is mandatory for the correct hadling of link-local traffic. First problem is that the logic of passing source interface is not working correcly for TCP connections, resulting in passing "origifp" on the first 2 connection attempts and lo0 on the subsequent ones. Second problem is that source address validation logic skips its checks iff the source interface is loopback, which doesn't cover "origifp" case. More detailed description is available at https://reviews.freebsd.org/D35732
Fix the first problem by untangling&simplifying ifp/origifp logic. Fix the second problem by switching source address validation check to using M_LOOP mbuf flag instead of interface type.
PR: 265089 Reviewed by: ae, bz(previous version) Differential Revision: https://reviews.freebsd.org/D35732 MFC after: 2 weeks
show more ...
|
#
81a235ec |
| 04-Jul-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netinet6: factor out cached route lookups from selectroute().
Currently selectroute() contains two nearly-identical versions of the route lookup logic - one for original destination and another for
netinet6: factor out cached route lookups from selectroute().
Currently selectroute() contains two nearly-identical versions of the route lookup logic - one for original destination and another for the case when IPV6_NEXTHOP option was set on the socket.
Factor out handling these route lookups in a separation function to improve readability. This change also fixes handling of link-local IPV6_NEXTHOPs.
Differential Revision: https://reviews.freebsd.org/D35710 MFC after: 2 weeks
show more ...
|
#
78d11a35 |
| 07-Jul-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netinet6: add ip6_output() scope tests
Differential Revision: https://reviews.freebsd.org/D35742
|
#
ce414d02 |
| 07-Jul-2022 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
netinet6: add ip6_output() tests.
Differential Revision: https://reviews.freebsd.org/D35708
|