Re: [PATCH] Fix usage of sk_alloc in cman-kernel (2.6.12rc2)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fabio Massimo Di Nitto wrote:
> Hi everybody,
> 

> @@ -918,14 +918,14 @@
>  	return;
>  }
> 
> -static struct sock *cl_alloc_sock(struct socket *sock, int gfp)
> +static struct sock *cl_alloc_sock(struct socket *sock, int gfp, int protocol)
>  {
>  	struct sock *sk;
>  	struct cluster_sock *c;
> 
>  	if ((sk =
> -	     sk_alloc(AF_CLUSTER, gfp, sizeof (struct cluster_sock),
> -		      cluster_sk_cachep)) == NULL)
> +	     sk_alloc(AF_CLUSTER, gpf, &cl_proto,
> +		      1)) == NULL)
>  		goto no_sock;
> 
>  	if (sock) {

Meh.. sorry.. i just realized that i did a typo in this hunk s/gpf/gfp.

fabio

- --
Self-Service law:
The last available dish of the food you have decided to eat, will be
inevitably taken from the person in front of you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCYVr1hCzbekR3nhgRAqMSAJ90YRnv4frDEDyqBSQeJ5xm+1h8/wCfUbny
Ed+7DiMfJ0SWD01pv1uCKKA=
=h65P
-----END PGP SIGNATURE-----

--

Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster

[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