>Number:         172490
>Category:       bin
>Synopsis:       [PATCH] nfsd: Typo in error when unable to create TCP socket
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 08 15:40:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:
        
>Description:
        nfsd(8) has typo when unable to create a TCP socket. It refers to as a 
'tpc' socket.
>How-To-Repeat:
        # sysctl kern.ipc.maxsockbuf=16777216
        # service nfsd onestart
        See /var/log/messages
>Fix:

        Mirrored at 
http://people.freebsd.org/~bdrewery/patch-nfsd-tcp-socket-error.txt

--- patch-nfsd-tcp-socket-error.txt begins here ---
# svn status
M       usr.sbin/nfsd/nfsd.c

Index: usr.sbin/nfsd/nfsd.c
===================================================================
--- usr.sbin/nfsd/nfsd.c        (revision 241351)
+++ usr.sbin/nfsd/nfsd.c        (working copy)
@@ -590,7 +590,7 @@
                                if ((tcpsock = socket(AF_INET, SOCK_STREAM,
                                    0)) < 0) {
                                        syslog(LOG_ERR,
-                                           "can't create tpc socket");
+                                           "can't create tcp socket");
                                        nfsd_exit(1);
                                }
                                if (setsockopt(tcpsock, SOL_SOCKET,
--- patch-nfsd-tcp-socket-error.txt ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to