3 fdisk tweaks

2011-07-22 Thread Kenneth R Westerback
1) A zero-length partition is a non-partition. Also PRT_fix_CHS() assumes length is non-zero and scribbles garbage is it is zero. 2) Having written the MBR, refresh the in-memory copy to reflect what was written. 3) If we are writing an MBR, always write DOSMBR_SIGNATURE so it will be recognized

Extraneous setting of d_checksum in subr_disk.c's checkdisklabel

2011-07-22 Thread Kenneth R Westerback
I can't see any need to swap the bytes of d_checksum. As shown by the large context, it's just set to 0 and recalculated. ok? Ken Index: subr_disk.c === RCS file: /cvs/src/sys/kern/subr_disk.c,v retrieving revision 1.130 diff -

Re: Synaptics touchpad

2011-07-22 Thread Alexander Polakov
* Alexandr Shadchin [110719 22:52]: > Hi, > > Please test latest patch for support Synaptics touchpad > (or http://koba.devio.us/distfiles/synaptics.v5.diff) > Patch for snapshot from 18-Jul-2011 or newer. > > It seems everything regression eliminated. Works fine here: pms0 at pckbc0 (aux slot

Re: Synaptics touchpad

2011-07-22 Thread Christopher Zimmermann
On 07/20/11 14:06, Aaron Bieber wrote: Still working here. Tricky to set up, but still working fine here with TrackPoint, TouchPad and optional USB mouse. Great work! Best thing is, I can now use the middle mouse button on my TrackPoint :) Thanks alot! Section "InputDevice" Identif

Re: impossible panic() in ifafree()

2011-07-22 Thread Martin Pelikan
On Fri, Jul 22, 2011 at 04:06:07PM +0200, Martin Pelikan wrote: > Or, we can introduce ifa_free() which would look and function correct, > and migrate all IFAFREE() and ifafree() calls towards that, one by one. Sorry for posting too early; this is obviously too complicated as the only problem that

Re: impossible panic() in ifafree()

2011-07-22 Thread Martin Pelikan
On Fri, Jul 22, 2011 at 09:46:45AM -0400, Kenneth R Westerback wrote: > On Fri, Jul 22, 2011 at 02:51:32PM +0200, Martin Pelikan wrote: > > The whole logic in these two seems pretty ugly, but inet6 crashed when I > > tried to make it look prettier and more uniform. > > What is the point of the #

Creedence - The Doors - The Mama's and the Papa's - Discografías mas pendrive de regalo

2011-07-22 Thread Discos MP3 - Solo de Oferta
The Mama's and the Papa's 01- Cass John Michael Dennie / 2- If you can Believe Your Eyes And Eaers / 3- Deliver / 4- Papa´s & Mama´s / 5- People like Us / Mama Cass

Re: impossible panic() in ifafree()

2011-07-22 Thread Kenneth R Westerback
On Fri, Jul 22, 2011 at 02:51:32PM +0200, Martin Pelikan wrote: > Hi, > > this panic cannot possibly happen. The question is, whether to move it up > to the macro that is used in the code, or zap it entirely. > The whole logic in these two seems pretty ugly, but inet6 crashed when I > tried to ma

kill duplicate code detaching ip4 addrs

2011-07-22 Thread Martin Pelikan
Hi, a bit of cleanup, which does NOT fix the second leak seen as in: # ifconfig vether0 create 10.0.0.1/24 # ifconfig vether0 destroy but not seen in # ifconfig vether0 create 10.0.0.1/24 # ifconfig vether0 -alias # ifconfig vether0 destroy And it probably needs more testing, so sorry about th

vether(4) ifmedia memory leak

2011-07-22 Thread Martin Pelikan
Hi, sorry for sending this after the 5.0-beta announcement, too much work. I don't know why does vether(4) need the 'media' option, but if you create and destroy lots of vethers, M_IFADDRs are leaking. This idea is taken from trunk(4). There is still another one malloc() leaking, though. -- Mar

rtableid typo across kernel

2011-07-22 Thread Martin Pelikan
Hi, ugly typo; anyone thinks this should survive to the upcoming release? -- Martin Pelikan Index: net/pf.c === RCS file: /cvs/src/sys/net/pf.c,v retrieving revision 1.764 diff -u -p -r1.764 pf.c --- net/pf.c9 Jul 2011 17:42:19

impossible panic() in ifafree()

2011-07-22 Thread Martin Pelikan
Hi, this panic cannot possibly happen. The question is, whether to move it up to the macro that is used in the code, or zap it entirely. The whole logic in these two seems pretty ugly, but inet6 crashed when I tried to make it look prettier and more uniform. And again, until 5.0 is out, this mig

Re: New simple prio queueing doesn't work with pppoe(4)

2011-07-22 Thread Henning Brauer
* Christopher Zimmermann [2011-07-21 23:46]: > ok, found the villain. Seems like my ISP is limiting bandwidth by > randomly dropping packets. congratulations, you just figured out how IP works. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP

Beatles - McCartney - Lennon -Starr - Discografías mas pendrive de regalo

2011-07-22 Thread Discos MP3 - Solo de Oferta
The Beatles 01- The early tapes / 02- Please Please Me / 03- With the beatles / 04- A hard days night / 05- Beatles for sale / 06- Help / 07- Love songs / 08- Rubbber Soul

fix 2 possible memory leaks in sftp-client.c

2011-07-22 Thread Loganaden Velvindron
those 2 functions have conditions that return without freeing memory. (Suggestions from armani@). Index: sftp-client.c === RCS file: /cvs/src/usr.bin/ssh/sftp-client.c,v retrieving revision 1.94 diff -u -p -r1.94 sftp-client.c --- sft