networkd: Add docs and tests for IPv4SrcValidMark=

Document the new setting in systemd.network(5) man page
and add coverage in the networkd integration tests.

Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ssahani
2026-03-30 06:25:00 +05:30
committed by Susant Sahani
parent 1fcb88b234
commit 2f69c8e712
4 changed files with 16 additions and 0 deletions
+1
View File
@@ -665,6 +665,7 @@ static int link_set_ipv4_route_localnet(Link *link) {
static int link_set_ipv4_src_valid_mark(Link *link) {
assert(link);
assert(link->manager);
assert(link->network);
if (!link_is_configured_for_family(link, AF_INET))
return 0;