PROBLEM REPORT 2.4.20-rc1: sundance.c

Stephan von Krawczynski (skraw@ithnet.com)
Thu, 31 Oct 2002 17:38:34 +0100


Hello all,

I'd like to point out that (at least) the network driver sundance.c has weird
flaws when trying to use more than MAX_UNITS (8) cards at the same time. Since
this driver can be used for DFE-580TX 4 port network card it is really easy to
get more than 8 ports :-)
In fact the driver does check against MAX_UNITS, but does _not_ fail if you go
through the roof. Instead you can expect really interesting ifconfig-outputs
;-)
IMHO it should check and fail. I wonder what other card drivers do in such a
case ...

-- 
Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/