[ewg] [PATCH] ofed_scripts: Do not remove slaves before stopping stack

Vladimir Sokolovsky vlad at dev.mellanox.co.il
Wed Nov 18 03:26:52 PST 2009


Moni Shoua wrote:
> There is no need to unenslave IPoIB interfaces before stopping the stack.
> This can cause a kernel crash as described in
> https://bugs.openfabrics.org/show_bug.cgi?id=1821
> 
> Signed-off-by: Moni Shoua <monis at voltaire.com>
> ---
> 
> diff --git a/ofed_scripts/openibd b/ofed_scripts/openibd
> index 8b0c3e6..2e5efee 100755
> --- a/ofed_scripts/openibd
> +++ b/ofed_scripts/openibd
> @@ -1272,11 +1272,6 @@ stop()
>              fi
>          fi
>  
> -        # Down all bond interfaces
> -	if ( which ib-bond &>/dev/null ) ; then
> -		ib-bond --stop-all
> -	fi
> -
>          # Stop SRP HA daemon if running
>          if [ -f $srp_daemon_pidfile ]; then
>                  local line p

Applied,

Regards,
Vladimir



More information about the ewg mailing list