Page MenuHomeFreeBSD

kgss: remove unnecessary CURVNET_SET() and kgss_gssd_handle checks
ClosedPublic

Authored by glebius on Tue, Apr 21, 5:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 29, 2:34 AM
Unknown Object (File)
Mon, Apr 27, 11:27 AM
Unknown Object (File)
Mon, Apr 27, 8:26 AM
Unknown Object (File)
Mon, Apr 27, 6:31 AM
Unknown Object (File)
Sun, Apr 26, 8:05 AM
Unknown Object (File)
Sat, Apr 25, 6:49 AM
Unknown Object (File)
Fri, Apr 24, 9:52 PM
Unknown Object (File)
Wed, Apr 22, 4:16 AM
Subscribers

Details

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