Re: netlink_proto_init and sock_init

2007-12-27 Thread David Miller
From: Octavian Purdila <[EMAIL PROTECTED]> Date: Thu, 27 Dec 2007 14:48:56 +0200 > I've noticed that with some exotic build setups (e.g. mingw) > netlink_proto_init is called before sock_init and subsequently sock_alloc > runs into a NULL sock_mnt. The following patch seems to fix the problem, b

netlink_proto_init and sock_init

2007-12-27 Thread Octavian Purdila
Hi, I've noticed that with some exotic build setups (e.g. mingw) netlink_proto_init is called before sock_init and subsequently sock_alloc runs into a NULL sock_mnt. The following patch seems to fix the problem, but I'm not sure if this is the right thing to do, as there are no _initcall_sync