cvs commit: src/sys/netinet ip_output.c

Robert Watson rwatson at FreeBSD.org
Wed Dec 22 01:34:49 PST 2004


rwatson     2004-12-22 09:34:49 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/netinet          ip_output.c 
  Log:
  Merge ip_output.c:1.236 from HEAD to RELENG_5:
  
    date: 2004/12/05 22:08:37;  author: rwatson;  state: Exp;  lines: +14 -6
    Pass the inpcb reference into ip_getmoptions() rather than just the
    inp->inp_moptions pointer, so that ip_getmoptions() can perform
    necessary locking when doing non-atomic reads.
  
    Lock the inpcb by default to copy any data to local variables, then
    unlock before performing sooptcopyout().
  
    MFC after:      2 weeks
  
  Revision   Changes    Path
  1.225.2.7  +14 -6     src/sys/netinet/ip_output.c


More information about the cvs-all mailing list