Module Name:    src
Committed By:   riastradh
Date:           Sun May 17 15:42:10 UTC 2020

Modified Files:
        src/sys/dev/pci: hifn7751.c

Log Message:
Missed a spot.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/pci/hifn7751.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/pci/hifn7751.c
diff -u src/sys/dev/pci/hifn7751.c:1.72 src/sys/dev/pci/hifn7751.c:1.73
--- src/sys/dev/pci/hifn7751.c:1.72	Sun May 17 00:54:05 2020
+++ src/sys/dev/pci/hifn7751.c	Sun May 17 15:42:10 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: hifn7751.c,v 1.72 2020/05/17 00:54:05 riastradh Exp $	*/
+/*	$NetBSD: hifn7751.c,v 1.73 2020/05/17 15:42:10 riastradh Exp $	*/
 /*	$OpenBSD: hifn7751.c,v 1.179 2020/01/11 21:34:03 cheloha Exp $	*/
 
 /*
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.72 2020/05/17 00:54:05 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.73 2020/05/17 15:42:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/cprng.h>
@@ -2409,9 +2409,9 @@ hifn_process(void *arg, struct cryptop *
 		if (hifn_debug)
 			printf("%s: requeue request\n", device_xname(sc->sc_dv));
 #endif
-		free(cmd, M_DEVBUF);
 		sc->sc_needwakeup |= CRYPTO_SYMQ;
 		mutex_spin_exit(&sc->sc_mtx);
+		pool_cache_put(sc->sc_cmd_cache, cmd);
 		return (err);
 	}
 

Reply via email to