Re: Small binutils tweak

2013-10-18 Thread Landry Breuil
On Fri, Aug 23, 2013 at 10:40:22PM +0200, Landry Breuil wrote: > On Sun, Apr 21, 2013 at 10:42:09AM -0400, Brian Callahan wrote: > > On 04/21/13 03:21, Jonathan Gray wrote: > > >On Sat, Mar 02, 2013 at 10:36:50AM -0500, Brian Callahan wrote: > > >>Hi tech -- > > >> > > >>While doing some ports test

unlimited HFSC v2: [part 1] rename pf_altq::altq_disc

2013-10-18 Thread Martin Pelikan
Hi. After several suggestions from Henning I started working putting parts of hfsc_if into ifaltq, where normally ALTQ bits would be (altq_flags will have to stay outside of the union, because that's how you know if altq has been enabled on that ifnet). But making that union will mean "altq_disc"

in[6]_proto_cksum_out: ICMP checksum fix

2013-10-18 Thread Lawrence Teo
Back in August I sent a diff to fix ICMP checksum calculation in in_proto_cksum_out() and in_delayed_cksum() in cases where the ICMP checksum field is not in the first mbuf of an mbuf chain (original post at http://marc.info/?l=openbsd-tech&m=137571298511653&w=2 ). bluhm@ replied on tech@ with the

cksum pseudo-header wankery

2013-10-18 Thread Henning Brauer
so stop that pseudo-header wankery. v6 doesn't have it at all. instead of incrementally pre-computing a tiny part of the proto cksum, just do it in in_proto_cksum_out when needed. makes everything else in the stack super easy: need cksum? set flag, done. stack and pf cases tested with all 3 offloa

IPv6 routing header type 0

2013-10-18 Thread Alexander Bluhm
Hi, Our IPv6 stack scans all extension headers for routing header type 0 and drops the packet if it finds one. RFC 5095 demands to handle a routing header type 0 like an unrecognised routing type. This is enough to protect the own machine. To protect a network as a firewall, we have pf which do

Add Xbox 360 Controller USB support

2013-10-18 Thread Jeremy Evans
This was originally submitted by Joe Gidi in November 2010, based on a FreeBSD commit by Ed Schouten from back in December 2005. See http://marc.info/?l=openbsd-tech&m=128924886803756&w=2 for previous thread. The only comment was from tedu@, that SMALL_KERNEL should be added, which I've done but

Re: in6_leavegroup work queue

2013-10-18 Thread Martin Pieuchot
Hi Alexander, On 18/10/13(Fri) 12:45, Alexander Bluhm wrote: > Hi, > > Ethernet drivers connected via USB might sleep when their multicast > group filter is modified. Unfortunately this happens from softclock > or softnet interrupt when IPv6 decides to unconfigure its addresses > automatically.

in6_leavegroup work queue

2013-10-18 Thread Alexander Bluhm
Hi, Ethernet drivers connected via USB might sleep when their multicast group filter is modified. Unfortunately this happens from softclock or softnet interrupt when IPv6 decides to unconfigure its addresses automatically. An obvious solution is to use a work queue. I have put the workq storage

Update the sdmmmc stack to take care of the SMC_CAPS_SINGLE_ONLY capability

2013-10-18 Thread Sylvestre Gallon
Hi tech@ Here is a diff to allow the sdmmc SMC_CAPS_SINGLE_ONLY caps to do something. The bits I take are from NetBSD and it works well with ommmc(4) on my Beagle Bone Black. This capability force the sdmmc stack to only issue single blocks transfers. It is usefull for debug purpose and/or for br