summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.3
diff options
context:
space:
mode:
authormelifaro <melifaro@FreeBSD.org>2015-10-04 12:42:07 +0000
committermelifaro <melifaro@FreeBSD.org>2015-10-04 12:42:07 +0000
commit78672053553cdd4f366badf1c185c7b75d5eb6a5 (patch)
treef6ad3475f63ea22f9e3a6ed2bd34b234c9e0d202 /lib/libc/stdlib/system.3
parent707e8db7f896a73ccaf66fc93eb2c33f822c9596 (diff)
downloadFreeBSD-src-78672053553cdd4f366badf1c185c7b75d5eb6a5.zip
FreeBSD-src-78672053553cdd4f366badf1c185c7b75d5eb6a5.tar.gz
Simplify if (lladdr) condition in nd6_cache_lladdr():
For case (7) (new entry) nothing has to be done except lle_event. Invoke this event directly from "create new lle" code block. For case (4) (existing entry, same mac) useless mac update was performed, along with LLENTRY_RESOLVED lle_event. There was no sense in doing that, since nothing really had changed. Simply avoid this condition instead. Given that, condition was simplified to (3),(5) states which can be merged with previous block.
Diffstat (limited to 'lib/libc/stdlib/system.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud