move tcbinfo lock acquisition in to syncache

This commit is contained in:
Kip Macy 2008-04-19 03:39:17 +00:00
parent 46b0a854cc
commit 73a0d5896e

View File

@ -1422,6 +1422,9 @@ syncache_offload_add(struct in_conninfo *inc, struct tcpopt *to,
struct tcphdr *th, struct inpcb *inp, struct socket **lsop,
struct toe_usrreqs *tu, void *toepcb)
{
INP_INFO_WLOCK(&tcbinfo);
INP_WLOCK(inp);
_syncache_add(inc, to, th, inp, lsop, NULL, tu, toepcb);
}