softraid_raid5: possible NULL dereference

2020-03-25 Thread Tobias Heider
sr_block_get() returns dma_alloc(length, PR_NOWAIT | PR_ZERO) which may be NULL if the memory pool is depleted. The result is used as 'dst' argument to memcpy() in the following call to sr_raid5_regenerate(), resulting in a possible NULL dereference. ok? Index: softraid_raid5.c

Re: Feature request: Use the PCIe devices on Thunderbolt (aka PCIe hotplug?)

2020-03-25 Thread John-Mark Gurney
Joseph Mayer wrote this message on Sat, Mar 21, 2020 at 02:57 +: > Thunderbolt support would be awesome. Especially it would allow the use > of additional M.2 NVMe SSD:s on a laptop at full performance. > > Thunderbolt support would also allow the use of an AMDGPU via a PCIe > chassi, as well

bug? in getopt(3) + [PATCH] + testcase

2020-03-25 Thread 0xef967c36
To wrap this up and get if off my plate, here is the updated patch, and a testcase program together with what should be (imvho) the correct output. Please do NOT assume that I'm insisting or that I have any personal interest to have this included, considered, etc. The testcase is a stripped down

Re: unbound 1.10.0

2020-03-25 Thread Renaud Allard
On 3/19/20 10:36 AM, Stuart Henderson wrote: On 2020/03/19 09:27, Renaud Allard wrote: After some days of testing I didn't see any real problem with that diff. It's working as expected. Also, I found out that putting "so-reuseport: no" completely stops all the stalling problems I had with

Fix pipex crash

2020-03-25 Thread Vitaliy Makkoveev
pipex_destroy_session should be called under NET_LOCK but if it called by this sequence: pppacclose -> pipex_iface_fini -> pipex_iface_stop -> pipex_destroy_session, NET_LOCK is missing and kernel crashes. pipex_iface_stop calls are protected by NET_LOCK, so it should be also protected within