cxgbe/tom: Fix a case where do_pass_accept_req wasn't properly restoring

the VNET.  This should have been in r311949.

MFC after:	2 days
This commit is contained in:
Navdeep Parhar 2017-01-18 03:35:42 +00:00
parent 4423244072
commit ff2c4d3f79

View File

@ -1418,6 +1418,7 @@ do_pass_accept_req(struct sge_iq *iq, const struct rss_header *rss,
if (!(synqe->flags & TPF_SYNQE_EXPANDED))
send_reset_synqe(tod, synqe);
INP_WUNLOCK(inp);
CURVNET_RESTORE();
release_synqe(synqe); /* extra hold */
return (__LINE__);