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

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

 



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


[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux