<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/netsmb, branch releng/11.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-04-01T16:43:30Z</updated>
<entry>
<title>MFC r324102 (by cem):</title>
<updated>2018-04-01T16:43:30Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2018-04-01T16:43:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=ed042408fd3a0f85072ffe5a5e97c965c8355d81'/>
<id>urn:sha1:ed042408fd3a0f85072ffe5a5e97c965c8355d81</id>
<content type='text'>
netsmb: Fix buggy/racy smb_strdupin()

PR:	222687
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>sys/net*: minor spelling fixes.</title>
<updated>2016-05-03T18:05:43Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-03T18:05:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a4641f4eaad242fd40c50e4dd14522aff3494f9a'/>
<id>urn:sha1:a4641f4eaad242fd40c50e4dd14522aff3494f9a</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>Remove unused SMB_DIALECT_MAX macro.</title>
<updated>2016-04-20T21:13:24Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-20T21:13:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a9a25801e81825f58e052af0d37d6ef46dde559c'/>
<id>urn:sha1:a9a25801e81825f58e052af0d37d6ef46dde559c</id>
<content type='text'>
Found by:	jhb
</content>
</entry>
<entry>
<title>kernel: use our nitems() macro when it is available through param.h.</title>
<updated>2016-04-19T23:48:27Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-19T23:48:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=02abd40029ea0d6cbb65cbb70816266541fb45a2'/>
<id>urn:sha1:02abd40029ea0d6cbb65cbb70816266541fb45a2</id>
<content type='text'>
No functional change, only trivial cases are done in this sweep,

Discussed in:	freebsd-current
</content>
</entry>
<entry>
<title>Cleanup unnecessary semicolons from the kernel.</title>
<updated>2016-04-10T23:07:00Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-10T23:07:00Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=74b8d63dcc17c07d8cb21e13f6db517698efd49f'/>
<id>urn:sha1:74b8d63dcc17c07d8cb21e13f6db517698efd49f</id>
<content type='text'>
Found with devel/coccinelle.
</content>
</entry>
<entry>
<title>The problem report was for a crash that happened when smbfs was</title>
<updated>2015-11-18T23:04:01Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2015-11-18T23:04:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=69527b11bb5e1bb234a29eed864896cb1a13d652'/>
<id>urn:sha1:69527b11bb5e1bb234a29eed864896cb1a13d652</id>
<content type='text'>
trying to do a mount. Given the backtrace,
it appears that the crash occurred when smb_vc_create() failed and then
called smb_vc_put() with vcp-&gt;vc_iod == NULL. smb_vc_put() subsequently
called smb_vc_disconnect() with vcp-&gt;vc_iod == NULL, causing the crash.
This patch adds a check for vcp-&gt;vc_iod != NULL in smb_vc_disconnect() to
avoid the crash. It also fixes the case in smb_vc_create() where
kproc_create() fails so that it destroys the mutexes and sets
vcp-&gt;vc_iod == NULL before free()'ing the iod structure.
The person who reported the PR tested the patch, but was not able
to reproduce the crash with or without the patch.

PR:		201912
Reviewed by:	jhb
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>When the smbfs iod thread (smb_iod_thread()) is shutting down, smb_iod_destroy()</title>
<updated>2015-11-16T23:19:53Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2015-11-16T23:19:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=e06f502c9e76b300c1844c1c6e0af103751f6c12'/>
<id>urn:sha1:e06f502c9e76b300c1844c1c6e0af103751f6c12</id>
<content type='text'>
would call smb_iod_request(). This call could return as soon as the
wakeup(evp) in smb_iod_main() call is done and then could destroy
the mutexes. This caused a race with the rest of smb_iod_main()s
use of these mutexes.
A crash reported on freebsd-stable@ by Christian Kratzer was
diagnosed as a use of one of these mutexes after it was destroyed.
This patch moves destruction of the mutexes from smb_iod_destroy()
to the end of smb_iod_thread(), so that they aren't destroyed before
the thread is done with them. Christian comfirmed that the patch
stopped the crashes from happening.

Reported by:	ck-lists@cksoft.de (Christian Kratzer)
Tested by:	ck-lists@cksoft.de (Christian Kratzer)
Diagnosed by:	jhb
Reviewed by:	jhb
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Remove redundant unlock.</title>
<updated>2014-04-17T12:22:08Z</updated>
<author>
<name>Andrey V. Elsukov</name>
<email>ae@FreeBSD.org</email>
</author>
<published>2014-04-17T12:22:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=99143cd46cee62bb7cdaea65e72d31e9bd07136c'/>
<id>urn:sha1:99143cd46cee62bb7cdaea65e72d31e9bd07136c</id>
<content type='text'>
This code was removed from the opensolaris and darwin's
netsmb implementations, in DfBSD it also has been disabled.

PR:		36566, 87859, 139407, 161579, 175557, 178412, 186652
MFC after:	2 weeks
Sponsored by:	Yandex LLC
</content>
</entry>
</feed>
