<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/sys/net, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-10-04T16:43:20Z</updated>
<entry>
<title>tests: gif(4): Add regression tests for setup with EtherIP</title>
<updated>2025-10-04T16:43:20Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-08-08T10:17:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3fbecac6879990afd88bbe95aad84abbbe8c2c8'/>
<id>urn:sha1:a3fbecac6879990afd88bbe95aad84abbbe8c2c8</id>
<content type='text'>
Tunnel IPv[46] traffic over IPv[46] should still function when the
gif(4) interface is member of a if_bridge(4) interface, aka the
EtherIP setup.

PR:		227450
Reviewed by:	kp
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D51682

(cherry picked from commit 04d0dc4c0c65592a21225cff43f25e0a0da64eb9)
(cherry picked from commit e5f01421ddbfee935546271121e6254472dcc7f5)
</content>
</entry>
<entry>
<title>tests: gif(4): Add tests to cover all IPv[46] in IPv[46] setups</title>
<updated>2025-10-04T16:43:19Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2025-08-01T16:33:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=767db004475a4b6dacde2cc4fa6ce392e63df59d'/>
<id>urn:sha1:767db004475a4b6dacde2cc4fa6ce392e63df59d</id>
<content type='text'>
While here, rename basic to 4in4 to be consistent with other tests.

MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D51566

(cherry picked from commit 62439516cc9bba32ed2406f340326c4d37e4cc59)
(cherry picked from commit c2806cddc64766b69daa42b4fb192f767e4b4705)
</content>
</entry>
<entry>
<title>vnet tests: check for if_bridge.ko</title>
<updated>2024-06-11T06:05:13Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2024-06-04T18:02:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=154dd1eaa643ffff4df525dca2e747490df61df3'/>
<id>urn:sha1:154dd1eaa643ffff4df525dca2e747490df61df3</id>
<content type='text'>
A number of tests create a bridge, but did not check if if_bridge.ko is loaded.

We usually get away with that, because `ifconfig bridge create` autoloads the
module, but if we run the tests in a jail (e.g. because of kyua's upcoming
execenv.jail.params feature) we can't load the module and these tests can fail.

Check if the module is loaded, skip the test if it is not.

Reviewed by:	markj
MFC after:	1 week
Event:		Kitchener-Waterloo Hackathon 202406
Differential Revision:	https://reviews.freebsd.org/D45487

(cherry picked from commit 480ad4055314efbfff7eedbb34272031d836ba89)
</content>
</entry>
<entry>
<title>libifconfig: Fix bridge status member list</title>
<updated>2024-01-05T11:56:18Z</updated>
<author>
<name>Michael Gmelin</name>
<email>grembo@FreeBSD.org</email>
</author>
<published>2023-12-20T20:21:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2299997ce174e6b1ec3ad14bb10c19b64942609'/>
<id>urn:sha1:c2299997ce174e6b1ec3ad14bb10c19b64942609</id>
<content type='text'>
When this functionality was moved to libifconfig in 3dfbda3401abea84da9,
the end of list calculation was modified for unknown reasons, practically
limiting the number of bridge member returned to (about) 102.

This patch changes the calculation back to what it was originally and
adds a unit test to verify it works as expected.

Reported by:	Patrick M. Hausen (via ML)
Reviewed by:	kp
Approved by:	kp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D43135

(cherry picked from commit 3d36053ca6d6a17d408c8f92c504e6135dc9d8df)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line sh pattern</title>
<updated>2023-08-23T17:43:30Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:32:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9'/>
<id>urn:sha1:023fc80ee38a117fa65b2ccb2abf8bdc7dbd6fd9</id>
<content type='text'>
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/

Similar commit in main:
(cherry picked from commit d0b2dbfa0ecf)
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:21Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=17da660ad5b3b9cd90e164dd4dbb9beaa7203054'/>
<id>urn:sha1:17da660ad5b3b9cd90e164dd4dbb9beaa7203054</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in main:
(cherry picked from commit b3e7694832e8)
</content>
</entry>
<entry>
<title>spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD</title>
<updated>2023-07-25T15:13:49Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-05-10T15:40:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=caa41f641755c935b036e17440a3b49329c904ed'/>
<id>urn:sha1:caa41f641755c935b036e17440a3b49329c904ed</id>
<content type='text'>
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with:		pfg
MFC After:		3 days
Sponsored by:		Netflix

(cherry picked from commit 4d846d260e2b9a3d4d0a701462568268cbfe7a5b)
</content>
</entry>
<entry>
<title>epair tests: test PCP tagged packets</title>
<updated>2023-04-18T07:23:16Z</updated>
<author>
<name>Kristof Provost</name>
<email>kp@FreeBSD.org</email>
</author>
<published>2023-04-10T10:55:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c79831b38a63c5e2b6c20602104f1ccda7075182'/>
<id>urn:sha1:c79831b38a63c5e2b6c20602104f1ccda7075182</id>
<content type='text'>
PR:		270736
MFC after:	1 week
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D39483

(cherry picked from commit d116b8430b90212e308fe9945038c7bd98edf1bc)
</content>
</entry>
<entry>
<title>routing: fix panic when adding an interface route to the p2p interface</title>
<updated>2023-04-08T19:19:24Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-29T20:28:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e18df856ef9a87339f179faafac2219335245662'/>
<id>urn:sha1:e18df856ef9a87339f179faafac2219335245662</id>
<content type='text'>
  without and inet/inet6 addresses attached.

MFC after:      3 days

(cherry picked from commit badcb3fd5710a511e35ac3afd724ef68c77614b7)
</content>
</entry>
<entry>
<title>wg: tests: remove an obsolete workaround</title>
<updated>2023-02-16T03:29:36Z</updated>
<author>
<name>Kyle Evans</name>
<email>kevans@FreeBSD.org</email>
</author>
<published>2023-02-13T05:59:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1dc1d45055a3e60dbe88dfb10abd9872a2677661'/>
<id>urn:sha1:1dc1d45055a3e60dbe88dfb10abd9872a2677661</id>
<content type='text'>
PR 254212 was resolved to avoid issues with not having IPv6 addresses
present in the jail, so we can safely drop this workaround now...

Reviewed by:	jhb, markj

(cherry picked from commit e63dcbe7a2cb8f6b6932cef48e70f3372f4df737)
</content>
</entry>
</feed>
