Re: invalid netmasks should be reported

2019-03-29 Thread Theo de Raadt
ok deraadt Klemens Nanni wrote: > On Wed, Mar 27, 2019 at 12:34:52PM +0100, Petr Hoffmann wrote: > > I noticed it is possible to specify an invalid netmask, > > e.g. 1.1.1.1/10/20 and still get the address loaded into a table. I > > conjecture this was introduced by the following change: > > >

Re: invalid netmasks should be reported

2019-03-29 Thread Klemens Nanni
On Wed, Mar 27, 2019 at 12:34:52PM +0100, Petr Hoffmann wrote: > I noticed it is possible to specify an invalid netmask, > e.g. 1.1.1.1/10/20 and still get the address loaded into a table. I > conjecture this was introduced by the following change: > > a7ede25358dad545e0342d2a9f8ef6ce68c6df66 >

Re: hibernate_io function

2019-03-29 Thread Mike Larkin
On Fri, Mar 29, 2019 at 12:58:18PM +, Shivaprashanth H wrote: > Another section I am facing difficulty in understanding is thats called > TRAMPOLINE > > I am not finding much details on this. so whats the concept here? > The image unpack code places the machine into a mode compatible with

Re: patch: minor tyop in if_jme

2019-03-29 Thread Stuart Henderson
On 2019/03/29 15:12, leo_...@volny.cz wrote: > [not currently subscribed, please Cc, thanks.] > > Yes, despite the reservation in the comment above the code with the > tyop, the offending condition is indeed triggered on this > particularly cheap craptop. Figuring that out is a separate >

patch: minor tyop in if_jme

2019-03-29 Thread leo_tck
[not currently subscribed, please Cc, thanks.] Yes, despite the reservation in the comment above the code with the tyop, the offending condition is indeed triggered on this particularly cheap craptop. Figuring that out is a separate matter... --zeurkous. Index: src/sys/dev/pci/if_jme.c

Re: deprecate TASKQ_CANTSLEEP

2019-03-29 Thread Mark Kettenis
> Date: Fri, 29 Mar 2019 14:28:42 +1000 > From: David Gwynne > > nothing uses it anymore, and i don't think it's useful either. > > for those who don't know what it did, it marked the threads used by a > taskq so the scheduler knew they shouldnt sleep. this was used in the > early stages of the

net/if_var.h locks documentation

2019-03-29 Thread Martin Pieuchot
I'm mostly interested in indicating that when we have a valid reference to an `ifp', obtained via if_get(9), it is safe to dereference if_softc. ok? Index: net/if_var.h === RCS file: /cvs/src/sys/net/if_var.h,v retrieving revision

Fix output accounting when a bridge is down

2019-03-29 Thread Martin Pieuchot
When a bridge is not in RUNNING state packets are simply enqueued on the interface. But since the introduction of bridge_ifenqueue() they are accounted as being sent through the bridge. Diff below fixes that by calling if_enqueue() directly. ok? Index: net/if_bridge.c

Re: hibernate_io function

2019-03-29 Thread Shivaprashanth H
Another section I am facing difficulty in understanding is thats called TRAMPOLINE I am not finding much details on this. so whats the concept here? From: Theo de Raadt Sent: Friday, March 29, 2019 7:05:54 AM To: Mike Larkin Cc: Shivaprashanth H;

Follow Up / WE BUY YOUR VPN BUSINESS

2019-03-29 Thread BizBroker24.com
Good Morning there! My name is Steven Endrizzi, I am the CEO of BizBroker24, BizBroker24 is the Worldwide Mergers & Acquisitions Leader in Buying & Selling Websites & Internet Businesses. We have been in touch a few weeks ago in regard to a possible acquisition of your VPN Business. I was

Re: pci_sdhc: Intel eMMC controller fix

2019-03-29 Thread James Hastings
Index: dev/pci/pcidevs === RCS file: /cvs/src/sys/dev/pci/pcidevs,v retrieving revision 1.1881 diff -u -p -r1.1881 pcidevs --- dev/pci/pcidevs 20 Mar 2019 10:51:25 - 1.1881 +++ dev/pci/pcidevs 29 Mar 2019 07:57:20

Re: pci_sdhc: Intel eMMC controller fix

2019-03-29 Thread James Hastings
On 3/26/19, Mark Kettenis wrote: > Did you test this with SD-cards in slots as well as with eMMC? > Tried again with Samsung 16GB card in slot plus NOPWR0 patch and sdmmcdebug=1 eMMC works, SD slot does not work. Also tested with combinations of existing sdhc flags NODDR50, NOPWR0 or none.