summaryrefslogtreecommitdiff
path: root/nuttx/fs/nfs
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-16 15:03:10 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-16 15:03:10 -0600
commit25899ddde960f404256bda7848e7f044105dea9e (patch)
tree639b4c72043bdc3f94a926562044391b2dabed9f /nuttx/fs/nfs
parent8b011e3350a04464334ab5e0fc3b8e5d44bdccbc (diff)
downloadpx4-nuttx-25899ddde960f404256bda7848e7f044105dea9e.tar.gz
px4-nuttx-25899ddde960f404256bda7848e7f044105dea9e.tar.bz2
px4-nuttx-25899ddde960f404256bda7848e7f044105dea9e.zip
Networking: UDP and TCP MSS depends on the IP header size (as well as the link layer header size) and cannot be represented with a single value.
Diffstat (limited to 'nuttx/fs/nfs')
-rw-r--r--nuttx/fs/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/fs/nfs/nfs_vfsops.c b/nuttx/fs/nfs/nfs_vfsops.c
index 7a26b530e..bb42093de 100644
--- a/nuttx/fs/nfs/nfs_vfsops.c
+++ b/nuttx/fs/nfs/nfs_vfsops.c
@@ -1722,9 +1722,9 @@ static int nfs_bind(FAR struct inode *blkdriver, FAR const void *data,
* the minimum MSS for that case.
*/
- if (buflen > MIN_UDP_MSS)
+ if (buflen > MIN_IPv4_UDP_MSS)
{
- buflen = MIN_UDP_MSS;
+ buflen = MIN_IPv4_UDP_MSS;
}
/* Create an instance of the mountpt state structure */