Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2011 09:09:49 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221625 - head/sys/geom/eli
Message-ID:  <201105080909.p4899nUY037660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pjd
Date: Sun May  8 09:09:49 2011
New Revision: 221625
URL: http://svn.freebsd.org/changeset/base/221625

Log:
  Drop proper key.
  
  MFC after:	1 week

Modified:
  head/sys/geom/eli/g_eli_integrity.c

Modified: head/sys/geom/eli/g_eli_integrity.c
==============================================================================
--- head/sys/geom/eli/g_eli_integrity.c	Sun May  8 09:08:50 2011	(r221624)
+++ head/sys/geom/eli/g_eli_integrity.c	Sun May  8 09:09:49 2011	(r221625)
@@ -149,7 +149,7 @@ g_eli_auth_read_done(struct cryptop *crp
 			bp->bio_error = crp->crp_etype;
 	}
 	sc = bp->bio_to->geom->softc;
-	g_eli_key_drop(sc, crp->crp_desc->crd_key);
+	g_eli_key_drop(sc, crp->crp_desc->crd_next->crd_key);
 	/*
 	 * Do we have all sectors already?
 	 */



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