Home | History | Annotate | Download | only in nfs
History log of /src/sys/nfs/nfs_srvsocket.c
RevisionDateAuthorComments
 1.6  05-Jul-2024  rin sys: Drop redundant NULL check before m_freem(9)

m_freem(9) safely has accepted NULL argument at least since 4.2BSD:
https://www.tuhs.org/cgi-bin/utree.pl?file=4.2BSD/usr/src/sys/sys/uipc_mbuf.c

Compile-tested on amd64/ALL.

Suggested by knakahara@
 1.5  20-Dec-2022  hannken branches: 1.5.6;
When partitioning a mbuf chain with m_split() the last mbuf of the returned
tail chain is not necessarily the same as the last mbuf of the initial chain.

Always set "slp->ns_rawend" to the last mbuf of the tail chain to prevent
mbuf leaks and corruption.
 1.4  03-Sep-2009  tls branches: 1.4.68; 1.4.94;
Missed this file in previous commit, accidentally checked in fix to local
repository copy! Sorry about that, folks.
 1.3  14-Mar-2009  dsl branches: 1.3.2;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.2  14-Mar-2009  dsl Remove all the __P() from sys (excluding sys/dist)
Diff checked with grep and MK1 eyeball.
i386 and amd64 GENERIC and sys still build.
 1.1  19-Nov-2008  ad branches: 1.1.4; 1.1.6; 1.1.8; 1.1.10;
Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.1.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.1.8.3  28-Apr-2009  skrll Sync with HEAD.
 1.1.8.2  19-Jan-2009  skrll Sync with HEAD.
 1.1.8.1  19-Nov-2008  skrll file nfs_srvsocket.c was added on branch nick-hppapmap on 2009-01-19 13:20:20 +0000
 1.1.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.1.6.1  19-Nov-2008  mjf file nfs_srvsocket.c was added on branch mjf-devfs2 on 2009-01-17 13:29:34 +0000
 1.1.4.2  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.4.1  19-Nov-2008  haad file nfs_srvsocket.c was added on branch haad-dm on 2008-12-13 01:15:28 +0000
 1.3.2.4  16-Sep-2009  yamt sync with head
 1.3.2.3  04-May-2009  yamt fix merge botches.
 1.3.2.2  04-May-2009  yamt sync with head.
 1.3.2.1  14-Mar-2009  yamt file nfs_srvsocket.c was added on branch yamt-nfs-mp on 2009-05-04 08:14:22 +0000
 1.4.94.1  20-Dec-2022  martin Pull up following revision(s) (requested by hannken in ticket #12):

sys/nfs/nfs_srvsocket.c: revision 1.5

When partitioning a mbuf chain with m_split() the last mbuf of the returned
tail chain is not necessarily the same as the last mbuf of the initial chain.

Always set "slp->ns_rawend" to the last mbuf of the tail chain to prevent
mbuf leaks and corruption.
 1.4.68.1  20-Dec-2022  martin Pull up following revision(s) (requested by hannken in ticket #1555):

sys/nfs/nfs_srvsocket.c: revision 1.5

When partitioning a mbuf chain with m_split() the last mbuf of the returned
tail chain is not necessarily the same as the last mbuf of the initial chain.

Always set "slp->ns_rawend" to the last mbuf of the tail chain to prevent
mbuf leaks and corruption.
 1.5.6.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed