<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netinet/libalias/alias_proxy.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-11-10T15:01:21Z</updated>
<entry>
<title>ipfw: Have NAT steal the TH_RES1 bit, instead of the TH_AE bit</title>
<updated>2022-11-10T15:01:21Z</updated>
<author>
<name>Richard Scheffenegger</name>
<email>rscheff@FreeBSD.org</email>
</author>
<published>2022-11-09T09:54:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=86bdbdece4ae1c3374b6f7e53e24b7a1ae7fa7d8'/>
<id>urn:sha1:86bdbdece4ae1c3374b6f7e53e24b7a1ae7fa7d8</id>
<content type='text'>
The NAT module use of the tcphdr.th_x2 field now collides with the
use of this TCP header flag as AccECN (AE) bit. Use the topmost
bit instead to allow negotiation of AccECN across a NAT device.

Event:			IETF 115 Hackathon
Reviewed By:		#transport, tuexen
MFC after:		3 days
Approved by:		re (gjb)
Sponsored by:		NetApp, Inc.
Differential Revision:	https://reviews.freebsd.org/D37300

(cherry picked from commit 0b00b801493aa1d4996b0891ea58fbef343f85df)
(cherry picked from commit 9839a5ad3a683c3841ec00c9e1a4d551dcf9c1de)
</content>
</entry>
<entry>
<title>libalias(3): Fix two typos in source code comments</title>
<updated>2022-04-14T06:40:03Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2022-04-09T06:54:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3bbf7fe94612c98b677a724507074f4a815be819'/>
<id>urn:sha1:3bbf7fe94612c98b677a724507074f4a815be819</id>
<content type='text'>
- s/modfied/modified/

(cherry picked from commit 1cfd924f4e7ca3dc742905aaf5d828a21ad88191)
</content>
</entry>
<entry>
<title>libalias: Style cleanup</title>
<updated>2021-05-30T20:03:40Z</updated>
<author>
<name>Lutz Donnerhacke</name>
<email>donner@FreeBSD.org</email>
</author>
<published>2021-05-14T13:08:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0742d99f53872df1a3f14e7a584e94aa5ba6daf6'/>
<id>urn:sha1:0742d99f53872df1a3f14e7a584e94aa5ba6daf6</id>
<content type='text'>
libalias is a convolut of various coding styles modified by a series
of different editors enforcing interesting convetions on spacing and
comments.

This patch is a baseline to start with a perfomance rework of
libalias.  Upcoming patches should be focus on the code, not on the
style.  That's why most annoying style errors should be fixed
beforehand.

Reviewed by:	hselasky
Discussed by:	emaste
Differential Revision: https://reviews.freebsd.org/D30259

(cherry picked from commit effc8e57fbf03d7f1423c662caf2b63f0d1d21a9)

At some places the ASSERT was inserted before variable declarations are
finished.  This is fixed now.

Reported by:	kib
Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D30282

(cherry picked from commit 2e6b07866f9e1520626a1523f6609cc411bdda1c)
</content>
</entry>
<entry>
<title>liblias: clean up empty lines in .c and .h files</title>
<updated>2021-05-30T19:16:30Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2021-05-30T19:12:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8e77442a5a53450d509004c7b09ccc0b82f4eaca'/>
<id>urn:sha1:8e77442a5a53450d509004c7b09ccc0b82f4eaca</id>
<content type='text'>
Partial apply of a huge commit to libalias only
(cherry picked from commit 662c13053f4bf2d6245ba7e2b66c10d1cd5c1fb9)
</content>
</entry>
<entry>
<title>libalias: Fix -Wcast-align compiler warnings</title>
<updated>2021-05-30T14:31:38Z</updated>
<author>
<name>Alex Richardson</name>
<email>arichardson@FreeBSD.org</email>
</author>
<published>2021-01-19T11:32:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=41301f352de65fcc3db5cc0364ca6cec07a8f7b0'/>
<id>urn:sha1:41301f352de65fcc3db5cc0364ca6cec07a8f7b0</id>
<content type='text'>
This fixes -Wcast-align warnings caused by the underaligned `struct ip`.
This also silences them in the public functions by changing the function
signature from char * to void *. This is source and binary compatible and
avoids the -Wcast-align warning.

Reviewed By:	ae, gbe (manpages)
Differential Revision: https://reviews.freebsd.org/D27882
</content>
</entry>
<entry>
<title>sys: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:23:17Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:23:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fe267a559009cbf34f9341666fe4d88a92c02d5e'/>
<id>urn:sha1:fe267a559009cbf34f9341666fe4d88a92c02d5e</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.
</content>
</entry>
<entry>
<title>alias_proxy.c: Fix accidental error quashing</title>
<updated>2017-03-13T18:05:31Z</updated>
<author>
<name>Conrad Meyer</name>
<email>cem@FreeBSD.org</email>
</author>
<published>2017-03-13T18:05:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fdb727f4f29312ca5d80583d2f05e144da6ef40c'/>
<id>urn:sha1:fdb727f4f29312ca5d80583d2f05e144da6ef40c</id>
<content type='text'>
This was introduced on accident in r165243, when return sites were unified
to add a lock around LibAliasProxyRule().

PR:		217749
Submitted by:	Svyatoslav &lt;razmyslov at viva64.com&gt;
Sponsored by:	Viva64 (PVS-Studio)
</content>
</entry>
<entry>
<title>Use inet_ntoa_r() instead of inet_ntoa() throughout the kernel</title>
<updated>2017-02-16T20:47:41Z</updated>
<author>
<name>Eric van Gyzen</name>
<email>vangyzen@FreeBSD.org</email>
</author>
<published>2017-02-16T20:47:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8144690af4574b7653d9845085667e1ef2a7f019'/>
<id>urn:sha1:8144690af4574b7653d9845085667e1ef2a7f019</id>
<content type='text'>
inet_ntoa() cannot be used safely in a multithreaded environment
because it uses a static local buffer. Instead, use inet_ntoa_r()
with a buffer on the caller's stack.

Suggested by:	glebius, emaste
Reviewed by:	gnn
MFC after:	2 weeks
Sponsored by:	Dell EMC
Differential Revision:	https://reviews.freebsd.org/D9625
</content>
</entry>
<entry>
<title>Avoid potential bad pointer dereference.</title>
<updated>2012-10-17T20:23:07Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2012-10-17T20:23:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=983731268cd3de9e6bb1d9a47b47f71c7be1c2b5'/>
<id>urn:sha1:983731268cd3de9e6bb1d9a47b47f71c7be1c2b5</id>
<content type='text'>
Previously RuleAdd would leave entry-&gt;la unset for the first entry in
the proxyList.

Sponsored by: ADARA Networks
MFC After: 1 week
</content>
</entry>
<entry>
<title>Move inet_aton() (specular to inet_ntoa(), already present in libkern)</title>
<updated>2009-11-12T00:46:28Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2009-11-12T00:46:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=758801232c1eaa04c3d9d9981a93574252948ad9'/>
<id>urn:sha1:758801232c1eaa04c3d9d9981a93574252948ad9</id>
<content type='text'>
into libkern in order to made it usable by other modules than alias_proxy.

Obtained from:	Sandvine Incorporated
Sponsored by:	Sandvine Incorporated
MFC:		1 week
</content>
</entry>
</feed>
