cvs commit: src/sys/netinet tcp_usrreq.c

Don Lewis truckman at FreeBSD.org
Sat Jan 10 00:53:02 PST 2004


truckman    2004/01/10 00:53:00 PST

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_usrreq.c 
  Log:
  Check that sa_len is the appropriate value in tcp_usr_bind(),
  tcp6_usr_bind(), tcp_usr_connect(), and tcp6_usr_connect() before checking
  to see whether the address is multicast so that the proper errno value
  will be returned if sa_len is incorrect.  The checks are identical to the
  ones in in_pcbbind_setup(), in6_pcbbind(), and in6_pcbladdr(), which are
  called after the multicast address check passes.
  
  MFC after:      30 days
  
  Revision  Changes    Path
  1.92      +8 -0      src/sys/netinet/tcp_usrreq.c


More information about the cvs-all mailing list