Rick Macklem 9c2065607f 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.

PR:		245022
Reported by:	danny@cs.huji.ac.il
MFC after:	2 weeks
2020-04-05 21:08:17 +00:00
..
2020-02-20 16:58:19 +00:00
2020-03-20 16:15:45 +00:00
2020-03-27 00:29:33 +00:00
2020-04-01 19:22:09 +00:00
2020-04-01 17:09:21 +00:00
2020-03-01 23:01:37 +00:00
2020-03-16 12:33:57 +00:00
2020-04-04 04:03:10 +00:00
2020-02-03 17:35:11 +00:00