[OpenAFS-devel] isnt sock_release() for linux 2.4 fixed?

Derrick J Brashear shadow@dementia.org
Mon, 13 Aug 2001 10:33:24 -0400 (EDT)


On Sun, 12 Aug 2001, chas williams wrote:

> 
> i think this is a leftover from my original 2.4 port when i couldnt tell
> which sock_release() was causing trouble.  it should be safe to remove
> the ifdef.

is there a way i can test for it, so people running older 2.4 kernels
don't get hosed?

-D

> --- rx/LINUX/rx_knet.c.orig	Wed Aug  8 07:06:43 2001
> +++ rx/LINUX/rx_knet.c	Sun Aug 12 08:51:58 2001
> @@ -45,11 +45,7 @@
>      code = sockp->ops->bind(sockp, (struct sockaddr*)&myaddr, sizeof(myaddr));
>  
>      if (code<0) {
> -#if defined(AFS_LINUX24_ENV)
> -	printk("sock_release(rx_socket) FIXME\n");
> -#else
>  	sock_release(sockp);
> -#endif
>  	return NULL;
>      }
>  
> _______________________________________________
> OpenAFS-devel mailing list
> OpenAFS-devel@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-devel
>