Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Apr 2016 19:22:15 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Ngie Cooper <yaneurabeya@gmail.com>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r298412 - head/sys/ofed/drivers/infiniband/core
Message-ID:  <57190C47.8070106@selasky.org>
In-Reply-To: <CAGHfRMC3UW6dAy6cW%2B8EJ1f=RxQy%2BTJV1dvHozGhaSmUWqAdNA@mail.gmail.com>
References:  <201604211604.u3LG4wmT035874@repo.freebsd.org> <CAGHfRMC3UW6dAy6cW%2B8EJ1f=RxQy%2BTJV1dvHozGhaSmUWqAdNA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/21/16 19:12, Ngie Cooper wrote:
> Please put the "deadcode" back. It will crash now if it's given an
> invalid address family (or none are configured in the kernel) when it
> tries to do the memcpy below.

If you look a few lines up in the file, not the patch, you'll see that 
there already is a switch case which catches this.

OK?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57190C47.8070106>