From 9a1d8acbf8a40c50763ded6acbf795e327237a8d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 31 Mar 2003 17:16:57 +0000 Subject: Add missing splx; Patrick Latifi jason@ OK --- sys/netinet/ip_ipcomp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/netinet/ip_ipcomp.c b/sys/netinet/ip_ipcomp.c index ddb7a5dc3ce..cdc9c3f5ea8 100644 --- a/sys/netinet/ip_ipcomp.c +++ b/sys/netinet/ip_ipcomp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipcomp.c,v 1.11 2003/02/18 18:47:40 jason Exp $ */ +/* $OpenBSD: ip_ipcomp.c,v 1.12 2003/03/31 17:16:56 millert Exp $ */ /* * Copyright (c) 2001 Jean-Jacques Bernard-Gundol (jj@wabbitt.org) @@ -248,6 +248,7 @@ ipcomp_input_cb(op) (tdb->tdb_cur_bytes >= tdb->tdb_exp_bytes)) { pfkeyv2_expire(tdb, SADB_EXT_LIFETIME_HARD); tdb_delete(tdb); + splx(s); m_freem(m); return ENXIO; } @@ -696,6 +697,7 @@ ipcomp_output_cb(cp) ntohl(tdb->tdb_spi))); crypto_freereq(crp); ipcompstat.ipcomps_nopf++; + splx(s); return EPFNOSUPPORT; break; } -- cgit v1.2.3