Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2007 15:48:16 +0000 (UTC)
From:      Mike Makonnen <mtm@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sys socket.h src/lib/libc/net rthdr.c
Message-ID:  <200704191548.l3JFmGAF033464@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mtm         2007-04-19 15:48:16 UTC

  FreeBSD src repository

  Modified files:
    sys/sys              socket.h 
    lib/libc/net         rthdr.c 
  Log:
  Make inet6_rth_* family of functions more compliant with RFC3542:
  1. CMSG_NXTHDR(mhdr, cmsg) is supposed to dereference cmsg and return
     the next header in the chain. If cmsg is NULL it should return
     the first header, behaving essentially like CMSG_FIRSTHDR().
  2. inet6_rth_(space|init|add) should do basic checking on their input
     to verify that the number of headers (segments) is
     between 0 and 127 inclusive.
  
  MFC-After: 1 month
  
  Revision  Changes    Path
  1.9       +9 -1      src/lib/libc/net/rthdr.c
  1.93      +4 -2      src/sys/sys/socket.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704191548.l3JFmGAF033464>