Subject: Re: [PATCH 2.6.24 1/1]S2io: Fixed the case when the card initialization fails on mtu change

From: Jeff Garzik <[email-masked]>
Date: Sat, 01 Dec 2007 16:33:22 -0500

Sreenivasa Honnur wrote:
> Fix the case when the card initialization fails on a mtu change and then 
> close is called (due to ifdown), which frees non existent rx buffers.
> - Returning appropriate error codes in init_nic function.
> - In s2io_close function s2io_card_down is called only when device is up.
> - In s2io_change_mtu function return value of s2io_card_up function
>   is checked and returned if it failed.
> 
> Signed-off-by: Surjit Reang <[email-masked]>
> Signed-off-by: Sreenivasa Honnur <[email-masked]>
> Signed-off-by: Ramkrishna Vepa <[email-masked]>
> ---
> diff -Nurp patch_8/drivers/net/s2io.c patch_9/drivers/net/s2io.c
> --- patch_8/drivers/net/s2io.c	2007-11-20 23:31:57.000000000 +0530
> +++ patch_9/drivers/net/s2io.c	2007-11-20 23:13:24.000000000 +0530
> @@ -84,7 +84,7 @@
>  #include "s2io.h"
>  #include "s2io-regs.h"
>  
> -#define DRV_VERSION "2.0.26.8"
> +#define DRV_VERSION "2.0.26.9"
>  
>  /* S2io Driver name & version. */
>  static char s2io_driver_name[] = "Neterion";

applied patch to 2.6.24-rc, except for the above chunk, which failed