I'm very pleased to announce the release of our new website and documentation using the new toolchain with Hugo and AsciiDoctor. To get more information about the new toolchain please read the FreeBSD Documentation Project Primer[1], Hugo docs[2] and AsciiDoctor docs[3]. Acknowledgment: Benedict Reuschling <bcr@> Glen Barber <gjb@> Hiroki Sato <hrs@> Li-Wen Hsu <lwhsu@> Sean Chittenden <seanc@> The FreeBSD Foundation [1] https://docs.FreeBSD.org/en/books/fdp-primer/ [2] https://gohugo.io/documentation/ [3] https://docs.asciidoctor.org/home/ Approved by: doceng, core
23 lines
649 B
Diff
23 lines
649 B
Diff
--- sys/nfs/nfs_socket.c Thu Apr 25 19:46:07 2002
|
|
+++ sys/nfs/nfs_socket.c Thu Aug 1 14:31:55 2002
|
|
@@ -2154,7 +2154,7 @@
|
|
register struct mbuf *m, **mpp;
|
|
register char *cp1, *cp2;
|
|
register int len;
|
|
- struct mbuf *om, *m2, *recm = NULL;
|
|
+ struct mbuf *om, *m2, *recm;
|
|
u_int32_t recmark;
|
|
|
|
if (slp->ns_flag & SLP_GETSTREAM)
|
|
@@ -2199,7 +2199,11 @@
|
|
|
|
/*
|
|
* Now get the record part.
|
|
+ *
|
|
+ * Note that slp->ns_reclen may be 0. Linux sometimes
|
|
+ * generates 0-length RPCs
|
|
*/
|
|
+ recm = NULL;
|
|
if (slp->ns_cc == slp->ns_reclen) {
|
|
recm = slp->ns_raw;
|
|
slp->ns_raw = slp->ns_rawend = (struct mbuf *)0;
|