]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Factor some code out of nfsm_dissct() into separate functions.
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 1 May 2020 00:36:14 +0000 (00:36 +0000)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 1 May 2020 00:36:14 +0000 (00:36 +0000)
commit0c9cd5cacd11a390336e5711096cce239b5cf0b5
tree379b70bdbeff0470d4f84f25cdfa90f997e6c262
parent371f3da616598f7bcd14e26b54c7b2c96ec9bbd7
Factor some code out of nfsm_dissct() into separate functions.

Factoring some of the code in nfsm_dissct() out into separate functions
allows these functions to be used elsewhere in the NFS mbuf handling code.
Other uses of these functions will be done in future commits.
It also makes it easier to add support for ext_pgs mbufs, which is needed
for nfs-over-tls under development in base/projects/nfs-over-tls.

Although the algorithm in nfsm_dissct() is somewhat re-written by this
patch, the semantics of nfsm_dissct() should not have changed.
sys/fs/nfs/nfs_commonsubs.c
sys/fs/nfs/nfs_var.h