added a missing unlock (just do the same thing as in netinet/raw_ip.c)

Obtained from: KAME
MFC after: 3 days
This commit is contained in:
SUZUKI Shinsuke 2005-08-18 11:11:27 +00:00
parent 5eaf9703df
commit 2af9b91993

View File

@ -220,6 +220,7 @@ docontinue:
#endif /*IPSEC*/
ip6stat.ip6s_delivered--;
/* do not inject data into pcb */
INP_UNLOCK(last);
} else
#endif /*IPSEC || FAST_IPSEC*/
if (last) {