summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2007-12-31 23:48:06 +0000
committerjulian <julian@FreeBSD.org>2007-12-31 23:48:06 +0000
commit3032c5c97143e8c0b92bae65601cbb7f7c746699 (patch)
treecafc9402b17d1ecb4bfcf6e0b22f4480ebac9217 /sys/kern/uipc_usrreq.c
parent9cea85864d49868ad2155b6f59d9ebd33a998a3f (diff)
downloadFreeBSD-src-3032c5c97143e8c0b92bae65601cbb7f7c746699.zip
FreeBSD-src-3032c5c97143e8c0b92bae65601cbb7f7c746699.tar.gz
Don't duplicate the whole of arpresolve to arpresolve 2 for the sake
of two compares against 0. The negative effect of cache flushing is probably more than the gain by not doing the two compares (the value is almost certainly in register or at worst, cache). Note that the uses of m_freem() are in error cases and m_freem() handles NULL anyhow. So fast-path really isn't changed much at all.
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud