On Fri, 27 Feb 2004 22:30:06 -0800 "Randy.Dunlap" <rddunlap@osdl.org> wrote: > | There are a few more functions in kernel (with dev_mc_add and dev_mc_delete) > | where you can find similar code. If the described situation is really error > | then this fuctions should be fixed too. I used 2.6.2 and 2.4.18 kernels. > > I see. So why do all callers of dev_mc_add() and dev_mc_delete() > not check the return value of those functions?? Anyone? It's totally an oversight, I included the net/core/dev.c changes but the other instances are much harder to fix and they do need to be fixed. They are harder to cure because they need to undo a lot of state if dev_mc_*() should fail, also some of the call chains all return void and would need to be changed in that respect too. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html