cvs commit: src/sys/netinet in.c

Oleksandr Tymoshenko gonzo at FreeBSD.org
Sat Jul 19 13:16:08 UTC 2008


gonzo       2008-07-19 13:15:51 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netinet          in.c 
  Log:
  SVN rev 180611 on 2008-07-19 13:15:51Z by gonzo
  
  MFC r179971:
  In case of interface initialization failure remove struct in_ifaddr* from
  in_ifaddrhashtbl in in_ifinit because error handler in in_control removes
  entries only for AF_INET addresses. If in_ifinit is called for the cloned
  inteface that has just been created its address family is not AF_INET and
  therefor LIST_REMOVE is not called for respective LIST_INSERT_HEAD and
  freed entries remain in in_ifaddrhashtbl and lead to memory corruption.
  
  PR:             kern/124384
  MFC after:      3 weeks
  
  Revision   Changes    Path
  1.85.2.11  +8 -0      src/sys/netinet/in.c


More information about the cvs-src mailing list