Don't bother restoring host byte order of mbuf fields when we're just

about to free the mbuf in the spx_input() error path.

MFC after:	1 month
This commit is contained in:
Robert Watson 2006-03-25 14:45:08 +00:00
parent 3945bca516
commit e7b7fc0ecd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157126

View file

@ -371,9 +371,6 @@ spx_input(struct mbuf *m, struct ipxpcb *ipxp)
cb = NULL;
}
IPX_LIST_UNLOCK();
si->si_seq = ntohs(si->si_seq);
si->si_ack = ntohs(si->si_ack);
si->si_alo = ntohs(si->si_alo);
m_freem(dtom(si));
if (cb == NULL || cb->s_ipxpcb->ipxp_socket->so_options & SO_DEBUG ||
traceallspxs)