cvs commit: src/sys/netinet sctp_asconf.c sctp_indata.c sctp_input.c sctp_os_bsd.h sctp_output.c sctp_pcb.c sctp_pcb.h sctp_usrreq.c src/sys/netinet6 sctp6_usrreq.c

Randall Stewart rrs at FreeBSD.org
Sat Jul 21 21:41:33 UTC 2007


rrs         2007-07-21 21:41:32 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          sctp_asconf.c sctp_indata.c sctp_input.c 
                         sctp_os_bsd.h sctp_output.c sctp_pcb.c 
                         sctp_pcb.h sctp_usrreq.c 
    sys/netinet6         sctp6_usrreq.c 
  Log:
  - remove duplicate code from sctp_asconf.c
  - remove duplicate #include <sys/priv.h> that is not under
     #ifdef FreeBSD version to allow compile on 6.1
  - static analysis changes per the cisco SA tool including:
      o some SA_IGNORE comments
      o some checks for NULL before unlock.
      o type corrections int -> size_t
  - Fix it so sctp_alloc_asoc takes a thread/proc argument. Without this
     we pass a NULL in to bind on implicit assoc setup and crash  :-(
  Approved by:    re at freebsd.org(Ken Smith)
  
  Revision  Changes    Path
  1.22      +0 -3      src/sys/netinet/sctp_asconf.c
  1.39      +1 -0      src/sys/netinet/sctp_indata.c
  1.52      +13 -2     src/sys/netinet/sctp_input.c
  1.30      +0 -1      src/sys/netinet/sctp_os_bsd.h
  1.47      +3 -1      src/sys/netinet/sctp_output.c
  1.50      +17 -5     src/sys/netinet/sctp_pcb.c
  1.26      +1 -1      src/sys/netinet/sctp_pcb.h
  1.39      +6 -4      src/sys/netinet/sctp_usrreq.c
  1.35      +1 -1      src/sys/netinet6/sctp6_usrreq.c


More information about the cvs-src mailing list