Re: irda and get_random_bytes

Dag Brattli (dagb@cs.uit.no)
27 Nov 1999 20:17:14 +0100


<Oliver.Neukum@lrz.uni-muenchen.de> writes:

> Hi list,
>
> irda compiled into 2.3.2x does not work. It calls get_random_bytes too
> early. Moving sock_init() after do_initcalls will make it work, but breaks
> other things. Is there objection to splitting sock_init ?

Thanks for the info, I'm sure somebody has talked about this before, but I
must have forgot about it. Hmm, what should we do here? One (easy) way
would be to remove irda_proto_init from net/protocols.c and insert it in
front of irda_device init in main.c. What do you think, would this fix the
problem?

-- Dag

-- 
   / Dag Brattli                   | The Linux-IrDA Project               /
  // University of Tromsoe, Norway | Infrared communication for Linux    //
 /// http://www.cs.uit.no/~dagb    | http://www.cs.uit.no/linux-irda/   ///

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