[Serdev] CVS:commitlog: sip_router sctp_server.c

Andrei Pelinescu-Onciul andrei at iptel.org
Thu May 21 17:41:16 CEST 2009


andrei      2009/05/21 17:41:16 CEST

  SER CVS Repository

  Modified files:
    .                    sctp_server.c 
  Log:
  sctp: compatibility with older linux kernels
  
  - try hard to workaround compatibility problems between lksctp
    userspace (sctp.h) and kernel side: older kernelsi (<2.6.26)
    expect a certain size for the sctp_event_subscribe structure
    (SCTP_EVENTS sock. opt), leading to problems when using newer
    lksctp userspace (>=1.0.9) which adds an additional member to
    the structure => if the SCTP_EVENTS setsockopt() fails, try with
    different sizes (since we don't care about authentication events
    anyway).
  - failure to enable SCTP_EVENTS upgraded to critical: ser will not
    start.
  
  Revision  Changes    Path
  1.24      +50 -14    sip_router/sctp_server.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/sctp_server.c.diff?r1=1.23&r2=1.24


More information about the Serdev mailing list