p4-projects@freebsd.org
[Top] [All Lists]

PERFORCE change 114415 for review

Subject: PERFORCE change 114415 for review
From: Paolo Pisati
Date: Mon, 12 Feb 2007 16:45:34 GMT
http://perforce.freebsd.org/chv.cgi?CH=114415

Change 114415 by piso@piso_newluxor on 2007/02/12 16:45:25

        Max packet size affects only user land side of libalias.

Affected files ...

.. //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_ftp.c#18 edit

Differences ...

==== //depot/projects/soc2005/libalias/sys/netinet/libalias/alias_ftp.c#18 
(text+ko) ====

@@ -105,9 +105,12 @@
 fingerprint(struct libalias *la, struct ip *pip, struct alias_data *ah)
 {
 
-       if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL || 
-               ah->maxpktsize == 0)
+       if (ah->dport == NULL || ah->sport == NULL || ah->lnk == NULL)
+               return (-1);
+#ifndef _KERNEL
+       if (ah->maxpktsize == 0)
                return (-1);
+#endif
        if (ntohs(*ah->dport) == FTP_CONTROL_PORT_NUMBER
            || ntohs(*ah->sport) == FTP_CONTROL_PORT_NUMBER)
                return (0);
_______________________________________________
p4-projects@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/p4-projects
To unsubscribe, send any mail to "p4-projects-unsubscribe@xxxxxxxxxxx"

<Prev in Thread] Current Thread [Next in Thread>
  • PERFORCE change 114415 for review, Paolo Pisati <=