rpc

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change the xid for client side krpc over UDP to a global value.

Without this patch, the xid used for the client side krpc requests over

UDP was initialized for each "connection". A "connection" for UDP is

rather sketchy and for the kernel NLM a new one is created every 2minutes.

A problem with client side interoperability with a Netapp server for the NLM

was reported and it is believed to be caused by reuse of the same xid.

Although this was never completely diagnosed by the reporter, I could see

how the same xid might get reused, since it is initialized to a value

based on the TOD clock every two minutes.

I suspect initializing the value for every "connection" was inherited from

userland library code, where having a global xid was not practical.

However, implementing a global "xid" for the kernel rpc is straightforward

and will ensure that an xid value is not reused for a long time. This

patch does that and is hoped it will fix the Netapp interoperability

problem.

Obtained from: FreeBSD

Sync with FreeBSD 11-stable.

  1. … 3173 more files in changeset.
sync with freebsd 10

  1. … 31 more files in changeset.
Fix the client isde krpc from doing TCP reconnects for ERESTART for sosend()

Needed for Amazon EFS

Fix the client isde krpc from doing TCP reconnects for ERESTART for sosend()

Needed for Amazon EFS

Fix the client isde krpc from doing TCP reconnects for ERESTART for sosend()

Needed for Amazon EFS

Improve error handling when unwrapping received data.

take out name/url

add comment

be sure to free cl_netid and cl_tp

  1. … 1 more file in changeset.
work around a linux bug

rpc: convert all uid and gid variables to u_int.

  1. … 6 more files in changeset.
rpc.lockd is still freaking out. revert this

  1. … 10 more files in changeset.
fix a lockup with rpc.lockd

  1. … 1 more file in changeset.
bring some things from Bull GNU/Linux NFSv4 project

  1. … 11 more files in changeset.
sync with solaris

  1. … 1 more file in changeset.
tag

tag and remove dead code

  1. … 27 more files in changeset.
sync with freebsd 9 stable.

  1. … 2435 more files in changeset.
This commit was generated by cvs2svn to compensate for changes in r5075, which included commits to RCS files with non-trunk default branches.

    • -0
    • +1090
    ./rpcsec_gss/rpcsec_gss.c
    • -0
    • +163
    ./rpcsec_gss/rpcsec_gss_conf.c
    • -0
    • +94
    ./rpcsec_gss/rpcsec_gss_int.h
    • -0
    • +53
    ./rpcsec_gss/rpcsec_gss_misc.c
    • -0
    • +359
    ./rpcsec_gss/rpcsec_gss_prot.c
    • -0
    • +1529
    ./rpcsec_gss/svc_rpcsec_gss.c
  1. … 4156 more files in changeset.
start the kernel lock manager work

    • -0
    • +127
    ./authunix_prot.c
  1. … 104 more files in changeset.
$MidnightBSD$

  1. … 420 more files in changeset.
add from netbsd/freebsd

  1. … 1 more file in changeset.
rpc merge

This commit was generated by cvs2svn to compensate for changes in r5, which included commits to RCS files with non-trunk default branches.

  1. … 6005 more files in changeset.