mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
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:
parent
3945bca516
commit
e7b7fc0ecd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157126
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue