[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] sock_alloc 2.6.10 && gfs



On Fri, Dec 31, 2004 at 01:29:38PM +0100, Svetoslav Slavtchev wrote:
> Hi guys,
> it seems sock_alloc became static in 2.6.10
> and i'm not sure how exactly to fix gfs
> (
> cluster/dlm/lowcomms.c:454
>         memset(&peeraddr, 0, sizeof(peeraddr));
>         newsock = sock_alloc();
>         if (!newsock)
>                 return -ENOMEM;
> 
> )
> 
> do you think it'll be enough just to revert the change ?
> (see attached diff )

As a quick hack that should work.

What /should/ be done is to change lowcomms to use sock_create_kern()

-- 

patrick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]