<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netgraph, branch release/13.5.0-p3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.5.0-p3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.5.0-p3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-10-08T10:07:18Z</updated>
<entry>
<title>net: Remove unneeded NULL check for the allocated ifnet</title>
<updated>2024-10-08T10:07:18Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-06-28T10:16:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f500e5c6c99bd4520daa4524113462e3cf68f032'/>
<id>urn:sha1:f500e5c6c99bd4520daa4524113462e3cf68f032</id>
<content type='text'>
Change 4787572d0580 made if_alloc_domain() never fail, then also do the
wrappers if_alloc(), if_alloc_dev(), and if_gethandle().

No functional change intended.

Reviewed by:	kp, imp, glebius, stevek
MFC after:	2 weeks
Differential Revision:  https://reviews.freebsd.org/D45740

MFC note: This is only a partial MFC, as some drivers do not exist in
stable/13 branch. The if_epair(4) drifts too much from stable/14 so not
included in this MFC.

(cherry picked from commit aa3860851b9f6a6002d135b1cac7736e0995eedc)
(cherry picked from commit 6b1f530935c5f84ec65dad87b7c20c6b7a72a6d3)
</content>
</entry>
<entry>
<title>bluetooth(3): Fix two typos in source code comments</title>
<updated>2024-09-23T04:51:26Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-09-20T18:00:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0a389bc09bdab3a8174876e971f88eefe3a693ab'/>
<id>urn:sha1:0a389bc09bdab3a8174876e971f88eefe3a693ab</id>
<content type='text'>
- s/conficts/conflicts/

(cherry picked from commit 9046ecff409c45205aad34ef8d959d79dd20cf8f)
</content>
</entry>
<entry>
<title>ng_ipfw(4): add missing change after previous commit</title>
<updated>2024-09-18T08:14:06Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2024-09-12T19:09:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=784817824bb4447eeda21f9ed55340def93deb29'/>
<id>urn:sha1:784817824bb4447eeda21f9ed55340def93deb29</id>
<content type='text'>
The function ng_ipfw_input() used to enjoy implicit
32-&gt;16 bits truncation of ng_ipfw_findhook1's second argument.
Make it explicit to recover from the breakage.

PR:		281082
Reported by:	Ruben van Staveren &lt;ruben@verweg.com&gt;
Tested by:	Ruben van Staveren &lt;ruben@verweg.com&gt;
Fixes:		20e1f207cc789a28783344614d6d1d1c639c5797

(cherry picked from commit becd0079c052cb87e7649b78733b99abae8861ee)
</content>
</entry>
<entry>
<title>ng_ksocket(4): unbreak after previous commit</title>
<updated>2024-09-04T16:32:32Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2024-09-04T16:32:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1ec3289e481ed004f2820abf9a7d56460459d0f4'/>
<id>urn:sha1:1ec3289e481ed004f2820abf9a7d56460459d0f4</id>
<content type='text'>
Fix locking.
This is direct commit to stable/13 due to different code base.

PR:		272319, 275106
Fixes:		5d0ad5fffbb3b5a71405a47b9b74d7920f9428fd
</content>
</entry>
<entry>
<title>MFC: ng_ksocket: fix upcall clearing on node shutdown</title>
<updated>2024-09-04T16:20:18Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2023-11-17T17:23:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5d0ad5fffbb3b5a71405a47b9b74d7920f9428fd'/>
<id>urn:sha1:5d0ad5fffbb3b5a71405a47b9b74d7920f9428fd</id>
<content type='text'>
Note: imho, the proper solution would be to guarantee that upcalls
won't ever be called after soclose(), but this isn't the case, yet.
This change at least makes the node work the way it always worked.

Reviewed by:		afedorov
Differential Revision:	https://reviews.freebsd.org/D42636
PR:			272319
PR:			275106
Fixes:			779f106aa169256b7010a1d8f963ff656b881e92

(cherry picked from commit efad7cbfdc06e92bcc589a6c0cae2f3bea0d5cb9)
</content>
</entry>
<entry>
<title>MFC: ng_ksocket: fix accept(2)</title>
<updated>2024-09-04T16:07:52Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2023-11-17T17:24:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=881886673a3423926c8b5f0955c4b966317f8ae8'/>
<id>urn:sha1:881886673a3423926c8b5f0955c4b966317f8ae8</id>
<content type='text'>
- Provide listen upcall and set it on NGM_KSOCKET_LISTEN
- Mask EWOULDBLOCK on NGM_KSOCKET_ACCEPT

Reviewed by:		afedorov
Differential Revision:	https://reviews.freebsd.org/D42637
PR:			272319
PR:			275106
Fixes:			779f106aa169256b7010a1d8f963ff656b881e92

(cherry picked from commit 43f7e21668105cc5a3c66eae5ecef0203c2df62f)
</content>
</entry>
<entry>
<title>ng_hci: Add sockaddr validation to sendto()</title>
<updated>2024-04-29T14:05:34Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2024-04-22T15:48:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6f028e91084bfedb9a5ca99c857a9c30a094beb5'/>
<id>urn:sha1:6f028e91084bfedb9a5ca99c857a9c30a094beb5</id>
<content type='text'>
ng_btsocket_hci_raw_send() wasn't verifying that the destination address
specified by sendto() is large enough to fill a struct sockaddr_hci.
Thus, when copying the socket address into an mbuf,
ng_btsocket_hci_raw_send() may read past the end of the input sockaddr
while copying.

In practice this is effectively harmless since
ng_btsocket_hci_raw_output() only uses the address to identify a
netgraph node.

Reported by:	Oliver Sieber &lt;oliver@secfault-security.com&gt;
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit 7f7b4926a779845116913c85ecbb10527daeab02)
</content>
</entry>
<entry>
<title>ng_socket: Treat EEXIST from kern_kldload() as success</title>
<updated>2024-04-16T04:36:16Z</updated>
<author>
<name>Zhenlei Huang</name>
<email>zlei@FreeBSD.org</email>
</author>
<published>2024-04-09T10:04:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d77e45e29f0462ea7a2eb1e56fac8fd850ea460c'/>
<id>urn:sha1:d77e45e29f0462ea7a2eb1e56fac8fd850ea460c</id>
<content type='text'>
EEXIST is possible in a race condition.

Inspired by:	ffc72591b1f5 (Don't worry if a module is already loaded ...)
Reviewed by:	glebius
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44633

(cherry picked from commit f6f67f58c19db4f25f5c2cf4869efc7054493a55)
(cherry picked from commit 2e8d60c6854006a391491bc2c1c48c459c32e2c4)
</content>
</entry>
<entry>
<title>netgraph: Fix two typos in source code comments</title>
<updated>2024-01-23T06:47:19Z</updated>
<author>
<name>Gordon Bergling</name>
<email>gbe@FreeBSD.org</email>
</author>
<published>2024-01-20T16:22:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ab04ef09cfd7aa9c1c3c6437e82eb2eed0a88c77'/>
<id>urn:sha1:ab04ef09cfd7aa9c1c3c6437e82eb2eed0a88c77</id>
<content type='text'>
- s/bascially/basically/
- s/simpliest/simplest/

(cherry picked from commit 7037ebe63dd1a2ff2a818359c58ca24b6d44388a)
</content>
</entry>
<entry>
<title>ng_ipfw: allow use of 32 bits wide cookies</title>
<updated>2023-11-29T14:01:35Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2023-11-14T09:36:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0b9242dea68c44dc630921d3802f3f80f4d84b48'/>
<id>urn:sha1:0b9242dea68c44dc630921d3802f3f80f4d84b48</id>
<content type='text'>
There is no reason in truncating 32 bits cookie value to 16 bits.

Reviewed by:	glebius

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