Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/pci/hifn7751.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/pci/hifn7751.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.76 retrieving revision 1.77 diff -u -p -r1.76 -r1.77 --- src/sys/dev/pci/hifn7751.c 2022/05/22 11:31:33 1.76 +++ src/sys/dev/pci/hifn7751.c 2022/05/22 11:34:48 1.77 @@ -1,4 +1,4 @@ -/* $NetBSD: hifn7751.c,v 1.76 2022/05/22 11:31:33 riastradh Exp $ */ +/* $NetBSD: hifn7751.c,v 1.77 2022/05/22 11:34:48 riastradh Exp $ */ /* $OpenBSD: hifn7751.c,v 1.179 2020/01/11 21:34:03 cheloha Exp $ */ /* @@ -47,7 +47,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.76 2022/05/22 11:31:33 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: hifn7751.c,v 1.77 2022/05/22 11:34:48 riastradh Exp $"); #include #include @@ -2177,11 +2177,6 @@ hifn_process(void *arg, struct cryptop * int session, err = 0, ivlen; struct cryptodesc *crd1, *crd2, *maccrd, *enccrd; - if (crp == NULL || crp->crp_callback == NULL) { - hifnstats.hst_invalid++; - return (EINVAL); - } - if ((cmd = pool_cache_get(sc->sc_cmd_cache, PR_NOWAIT)) == NULL) { hifnstats.hst_nomem++; err = ENOMEM;