Module Name:src
Committed By: martin
Date: Wed Jul 24 14:25:56 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nv_impl.h nvpair.c
Log Message:
Adapt for userland compilation
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7
Module Name:src
Committed By: sevan
Date: Wed Jul 24 12:13:13 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
off by 1
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/libnv/dist/nvpair.c
Please note that
Module Name:src
Committed By: sevan
Date: Wed Jul 24 12:13:13 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
off by 1
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/external/bsd/libnv/dist/nvpair.c
Please note that
Module Name:src
Committed By: sevan
Date: Wed Jul 24 11:34:55 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
need sys/kmem.h for kmem_free()
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: sevan
Date: Wed Jul 24 11:34:55 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
need sys/kmem.h for kmem_free()
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9
Module Name:src
Committed By: martin
Date: Wed Jul 24 11:12:31 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
PR kern/54406: the result of vasprintf (in the kernel) should be freed
by kmem_free(). Spotted by Mindaugas.
To generate a diff
Module Name:src
Committed By: martin
Date: Wed Jul 24 11:12:31 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nvpair.c
Log Message:
PR kern/54406: the result of vasprintf (in the kernel) should be freed
by kmem_free(). Spotted by Mindaugas.
To generate a diff
Module Name:src
Committed By: rmind
Date: Tue Jul 23 00:49:16 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nv.h nvlist.c nvpair.c
Log Message:
- nvpair_create_stringf: use the in-kernel vasprintf().
- Make nvlist_add_stringf() availabe in the kernel.
To
Module Name:src
Committed By: rmind
Date: Tue Jul 23 00:49:16 UTC 2019
Modified Files:
src/sys/external/bsd/libnv/dist: nv.h nvlist.c nvpair.c
Log Message:
- nvpair_create_stringf: use the in-kernel vasprintf().
- Make nvlist_add_stringf() availabe in the kernel.
To
On Fri, Feb 15, 2019 at 11:21:51PM +, Mindaugas Rasiukevicius wrote:
> Well, I did run libnv tests as well as NPF tests and they both passed,
> just not on NetBSD. :) Turns out NetBSD libnv and Github libnv code
> bases deviated a little bit, causing a bug in NetBSD (but not upstream).
>
Martin Husemann wrote:
> Can you try this patch?
>
> rmind: can you *please* run the tests before commiting such changes?
> That would have immediately caught this.
Well, I did run libnv tests as well as NPF tests and they both passed,
just not on NetBSD. :) Turns out NetBSD libnv and Github
> Can you try this patch?
With the patch I get a different panic:
| # npfctl reload
| panic: kernel diagnostic assertion "(nvp) != ((void *)0)" failed: file
"/home/fstd/qemutest/src/sys/external/bsd/libnv/dist/nvpair.c", line 2140
| cpu0: Begin traceback...
|
Can you try this patch?
rmind: can you *please* run the tests before commiting such changes?
That would have immediately caught this.
Martin
Index: nvlist.c
===
RCS file: /cvsroot/src/sys/external/bsd/libnv/dist/nvlist.c,v
This commit (or the following one) gives me the following
panic on 'npfctl reload':
| # npfctl reload
| [ 169.6257771] panic: kmem_free(0xc1fd76a0, 46) != allocated size 4294967295
| [ 169.6361202] cpu0: Begin traceback...
| [ 169.6361202]
14 matches
Mail list logo