<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat/ndis/subr_ndis.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-01-25T21:45:03Z</updated>
<entry>
<title>ndis(4): remove as previous announced</title>
<updated>2021-01-25T21:45:03Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@one-eyed-alien.net</email>
</author>
<published>2021-01-25T21:45:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bfc99943b04b46a6c1c885ce7bcc6f235b7422aa'/>
<id>urn:sha1:bfc99943b04b46a6c1c885ce7bcc6f235b7422aa</id>
<content type='text'>
nids(4) was a clever idea in the early 2000's when the market was
flooded with 10/100 NICs with Windows-only drivers, but that hasn't been
the case for ages and the driver has had no meaningful maintenance in
ages. It only supports Windows-XP era drivers.

Also remove:
 - ndis support from wpa_supplicant
 - ndiscvt(8)

Reviewed By:	emaste, bcr (manpages)
Differential Revision:	https://reviews.freebsd.org/D27609
</content>
</entry>
<entry>
<title>compat: clean up empty lines in .c and .h files</title>
<updated>2020-09-01T21:24:33Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-09-01T21:24:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1a180032407ba2dabd02e39c508fe232a9ef66ba'/>
<id>urn:sha1:1a180032407ba2dabd02e39c508fe232a9ef66ba</id>
<content type='text'>
</content>
</entry>
<entry>
<title>vfs: drop the mostly unused flags argument from VOP_UNLOCK</title>
<updated>2020-01-03T22:29:58Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2020-01-03T22:29:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b249ce48ea5560afdcff57e72a9880b7d3132434'/>
<id>urn:sha1:b249ce48ea5560afdcff57e72a9880b7d3132434</id>
<content type='text'>
Filesystems which want to use it in limited capacity can employ the
VOP_UNLOCK_FLAGS macro.

Reviewed by:	kib (previous version)
Differential Revision:	https://reviews.freebsd.org/D21427
</content>
</entry>
<entry>
<title>Fix build of ndis with base gcc on i386</title>
<updated>2018-06-17T19:24:40Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2018-06-17T19:24:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5494dcfa1cd8f85b145d10e9372fccf137d1bcd2'/>
<id>urn:sha1:5494dcfa1cd8f85b145d10e9372fccf137d1bcd2</id>
<content type='text'>
Casting from rman_res_t to a pointer results in "cast to pointer from
integer of different size" warnings with base gcc on i386, so use an
intermediate cast to uintptr_t to suppress it.  In this case, the I/O
port range is effectively limited to the range of 0..65535.

Reviewed by:	imp
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D15746
</content>
</entry>
<entry>
<title>Revert r327828, r327949, r327953, r328016-r328026, r328041:</title>
<updated>2018-01-21T15:42:36Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-01-21T15:42:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ac2fffa4b74cd83963f0d462c379c7f50eeabf20'/>
<id>urn:sha1:ac2fffa4b74cd83963f0d462c379c7f50eeabf20</id>
<content type='text'>
Uses of mallocarray(9).

The use of mallocarray(9) has rocketed the required swap to build FreeBSD.
This is likely caused by the allocation size attributes which put extra pressure
on the compiler.

Given that most of these checks are superfluous we have to choose better
where to use mallocarray(9). We still have more uses of mallocarray(9) but
hopefully this is enough to bring swap usage to a reasonable level.

Reported by:	wosch
PR:		225197
</content>
</entry>
<entry>
<title>ndis: make some use of mallocarray(9).</title>
<updated>2018-01-15T21:11:38Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-01-15T21:11:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0993a7daaff4f01702275f7bcf5b4ac5e5bbe062'/>
<id>urn:sha1:0993a7daaff4f01702275f7bcf5b4ac5e5bbe062</id>
<content type='text'>
Focus on code where we are doing multiplications within malloc(9). None of
these ire likely to overflow, however the change is still useful as some
static checkers can benefit from the allocation attributes we use for
mallocarray.

This initial sweep only covers malloc(9) calls with M_NOWAIT. No good
reason but I started doing the changes before r327796 and at that time it
was convenient to make sure the sorrounding code could handle NULL values.

X-Differential revision: https://reviews.freebsd.org/D13837
</content>
</entry>
<entry>
<title>spdx: initial adoption of licensing ID tags.</title>
<updated>2017-11-18T14:26:50Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-18T14:26:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df57947f083046d50552e99b91074927d2458708'/>
<id>urn:sha1:df57947f083046d50552e99b91074927d2458708</id>
<content type='text'>
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.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.

Initially, only tag files that use BSD 4-Clause "Original" license.

RelNotes:	yes
Differential Revision:	https://reviews.freebsd.org/D13133
</content>
</entry>
<entry>
<title>Fix regression in ndis(4) after r286410. This adds a bunch of checks for</title>
<updated>2017-05-22T20:00:01Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2017-05-22T20:00:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=33c6ba0c654e36ad6386af48f475a24d52181203'/>
<id>urn:sha1:33c6ba0c654e36ad6386af48f475a24d52181203</id>
<content type='text'>
whether this is a Ethernet or 802.11 device and does proper dereferencing.

PR:		213237
Submitted by:	&lt;ota j.email.ne.jp&gt;
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>ndis(4): it's rather unrealistic to expect a size_t here.</title>
<updated>2016-04-28T03:19:53Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-28T03:19:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5fe2c518bdd052eb67f47381324d1baef9ace1a4'/>
<id>urn:sha1:5fe2c518bdd052eb67f47381324d1baef9ace1a4</id>
<content type='text'>
int was actually OK, and u_int is more than enough.
</content>
</entry>
<entry>
<title>ndis(4): unsign some indexes to prevent overflows.</title>
<updated>2016-04-28T01:58:56Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-28T01:58:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9119df34dfd75b82634fdb1648420d78f2628a86'/>
<id>urn:sha1:9119df34dfd75b82634fdb1648420d78f2628a86</id>
<content type='text'>
The "len" parameter is uint32_t, indexing it with an int may
end up in a signed integer overflow.

strlen(3) returns an integer of size_t so the corresponding index should
have that size.

MFC after:	1 week
</content>
</entry>
</feed>
