[PATCH] Set TOS (TCLASS) bits under ipv6

2011-09-28 Thread Dave Taht
Setting the TCLASS (TOS) field requires different setsockopt params on ipv6 than ipv4. as per: http://www.bufferbloat.net/projects/cerowrt/issues/249 --- dbutil.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dbutil.c b/dbutil.c index b3a119f..2739d2f 100644 ---

Re: [PATCH] Set TOS (TCLASS) bits under ipv6

2011-09-28 Thread Matt Johnston
Hi, Thanks for the patch, it answers my commented question six years later :) What are the implications of stomping on the ECN bit on pre-2.6.39 kernels? I agree flags for SCP would make sense, I'll take a look where to do that. I'm not sure how to handle SFTP since lookup commands should remain

Re: [PATCH] Set TOS (TCLASS) bits under ipv6

2011-09-28 Thread Dave Taht
On Wed, Sep 28, 2011 at 5:47 AM, Matt Johnston m...@ucc.asn.au wrote: Hi, Thanks for the patch, it answers my commented question six years later :) I was stumped on this one for even longer than that, so I'm pushing out the knowledge (and patches) as fast as I can. What are the implications