]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Factor some code out of nfsm_dissct() into separate functions.
authorrmacklem <rmacklem@FreeBSD.org>
Fri, 1 May 2020 00:36:14 +0000 (00:36 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Fri, 1 May 2020 00:36:14 +0000 (00:36 +0000)
commit57b775f7cd1498fe154ec95163280326f534f6b2
tree379b70bdbeff0470d4f84f25cdfa90f997e6c262
parent4ca3575516d28c4c835be9535025fcabed41093e
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