netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sch_dsmark bug
@ 2004-04-11 12:43 Hugo Santos
  2004-04-11 19:43 ` jamal
  0 siblings, 1 reply; 3+ messages in thread
From: Hugo Santos @ 2004-04-11 12:43 UTC (permalink / raw)
  To: netdev; +Cc: davem

Hi there,

I tried to contact the person whose name is in the source file but with
no success. While developing some code that handles with kernel's TC
objects direcly (by netlink) i found a small problem with dsmark (maybe
other scheds have it too, but i haven't checked). This is in linux 2.6.4
(there is no change in this context in 2.6.5); in dsmark_init, if opt is
NULL, the module will crash and TC will get stuck. the module will have a
ref count of 1 so i can't unload it, and i can't change any other TC
stuff since the netlink socket gets stuck when dsmark crashes. So, a simple

if (!opt) return -EINVAL;

would prevent such problems.

If you prefer i may send a patch, but since it's only a one line patch i didn't
send one.

Best regards,
Hugo Santos

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-04-11 22:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11 12:43 sch_dsmark bug Hugo Santos
2004-04-11 19:43 ` jamal
2004-04-11 22:52   ` Sven Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).