Page MenuHomeFreeBSD

Reduce code duplication in rpc.lockd.

Authored by delphij on Jun 18 2017, 9:56 AM.



Reuse create_service code instead of duplicating it in
lookup_addresses for kernel NLM.

As a (good) side effect this also fixed a few issues that were
already fixed in the former but never applied to the latter.

Test Plan

Run rpc.lockd

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

delphij created this revision.Jun 18 2017, 9:56 AM
kevlo accepted this revision.Jun 21 2017, 6:28 AM

Works fine for me. Tested on amd64.

This revision is now accepted and ready to land.Jun 21 2017, 6:28 AM
This revision was automatically updated to reflect the committed changes.