[<prev] [next>] [day] [month] [year] [list]
Message-ID: <620d582f0905281342l6e275547ud6d5cf84614eeb7a@mail.gmail.com>
Date: Thu, 28 May 2009 22:42:38 +0200
From: Piotrek D <regis44@...il.com>
To: linux-kernel@...r.kernel.org
Subject: HTB class parameter change in lkm
I am trying to change the rate parameter of HTB class by using this
code from within one of my functions :
struct htb_class *cl;
cl=htb_find(number,q);
cl->rate->rate.rate = NEW_RATE_VALUE;
TC shows the correct values, but the traffic rate doesn't change a bit.
Does anyboyd have any idea what am I doing wrong ? Maybe there would
be a faster way by sending a netlink message ?
Piotrek
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists