Page MenuHomeFreeBSD

kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks
AcceptedPublic

Authored by glebius on Tue, Apr 21, 5:55 PM.

Details

Reviewers
rmacklem
Summary

These RPC methods correctly acquire the kgss_gssd_handle later with call
to kgss_gssd_client().

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72423
Build 69306: arc lint + arc unit

Event Timeline

Looks ok to me. If kgss_gssd_handle can never
be NULL, removing the checks for non-NULL
might simplify the code a bit?

sys/kgssapi/gss_release_cred.c
57

As I asked in the other review. Does this check
make any sense now? (ie. Can it ever be NULL?)

This revision is now accepted and ready to land.Tue, Apr 21, 10:17 PM