A recent version of the oldnfs NFS client in head/current
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jul 2013 21:16:19 +0000 (21:16 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 1 Jul 2013 21:16:19 +0000 (21:16 +0000)
commit86dae0ab9d2107202ef7f2f42ff01ee250be6405
tree829aa43623a4fa904e812b0cefb561bc91f06e26
parentaafa03cfbdf45a3b7bdd489ea2958647c11387d0
A recent version of the oldnfs NFS client in head/current
will crash when doing a large write, since m_get2() would
return NULL. This patch fixes the problem, since nfsm_uiotombuf()
will allocate additional mbufs, as required.

Reported by: sbruno
Tested by: sbruno
Discussed with: glebius

git-svn-id: svn://svn.freebsd.org/base/head@252479 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/nfsclient/nfs_vnops.c