mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Fix a stray splx() that caused a new warning.
Approved by: re (rwatson)
This commit is contained in:
parent
cb3a418e8d
commit
0273079097
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=171237
@ -205,7 +205,7 @@ ip6_ipsec_output(struct mbuf **m, struct inpcb *inp, int *flags, int *error,
|
||||
#ifdef IPSEC
|
||||
struct tdb_ident *tdbi;
|
||||
struct m_tag *mtag;
|
||||
int s;
|
||||
/* XXX int s; */
|
||||
if (sp == NULL)
|
||||
return 1;
|
||||
mtag = m_tag_find(*m, PACKET_TAG_IPSEC_PENDING_TDB, NULL);
|
||||
@ -258,7 +258,7 @@ ip6_ipsec_output(struct mbuf **m, struct inpcb *inp, int *flags, int *error,
|
||||
* done: below.
|
||||
*/
|
||||
KEY_FREESP(sp), sp = NULL;
|
||||
splx(s);
|
||||
/* XXX splx(s); */
|
||||
goto done;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user