Re: acpiec(4) clear events on attach and resume

2014-03-27 Thread James Turner
I'm running the most recent amd64 snap (3/27) and it sounds like this diff might be in it? Also not sure if this diff would affect the reporting of acpi battery usage but after upgrading my acpibat0 sensors are all over the place. Initial boot on a plugged in and fully charged battery shows 51%.

/usr/src/sys/dev/pci/mfii.c compile failures

2014-03-27 Thread kspillner
Is anyone else seeing this error building -current? /usr/src/sys/dev/pci/mfii.c: In function 'mfii_initialise_firmware': /usr/src/sys/dev/pci/mfii.c:1004: error: 'struct mpii_msg_iocinit_request' has no member named 'reply_descriptor_post_queue_address' /usr/src/sys/dev/pci/mfii.c:1007: error: 's

Be explicit: don't use ifa_ifwithnet()!

2014-03-27 Thread Martin Pieuchot
Since rti_info[RTAX_IFP], when it is present, contains the sockaddr_dl of a given interface, in the chunk below, ifa_ifwithnet() will return its corresponding link-layer address. But here we are interested in the ifp, not in its link-layer address! So let's use if_get() directly. ok? Index: net/

Do you use IPv6?

2014-03-27 Thread Martin Pieuchot
If you do, please test the diff below and make sure it does not change anything in your routing table! This diff is a first step to merge all the various code paths that manipulate auto-magically created routes. While the code in sys/netinet makes use of rtinit() to create routes with the RTP_CO

SNI support for ftp(1)

2014-03-27 Thread Jérémie Courrèges-Anglas
Thanks sthen@ for noticing it, ftp(1) doesn't perform SNI, Server Name Indication. (try eg. https://www.stunnel.org/) Here's a diff to improve the situation (first and last hunks). While I can get some eyes for a review, let's add some more changes. ;) Second hunk: SSLeay_add_ssl_algorithms()