cvs commit: src/sys/netinet in.h ip_output.c ip_var.h

Bruce M Simpson bms at FreeBSD.org
Sun May 14 07:22:57 PDT 2006


bms         2006-05-14 14:22:49 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in.h ip_output.c ip_var.h 
  Log:
  Fix a long-standing limitation in IPv4 multicast group membership.
  
  By making the imo_membership array a dynamically allocated vector,
  this minimizes disruption to existing IPv4 multicast code. This
  change breaks the ABI for the kernel module ip_mroute.ko, and may
  cause a small amount of churn for folks working on the IGMPv3 merge.
  
  Previously, sockets were subject to a compile-time limitation on
  the number of IPv4 group memberships, which was hard-coded to 20.
  The imo_membership relationship, however, is 1:1 with regards to
  a tuple of multicast group address and interface address. Users who
  ran routing protocols such as OSPF ran into this limitation on machines
  with a large system interface tree.
  
  Revision  Changes    Path
  1.96      +8 -1      src/sys/netinet/in.h
  1.256     +29 -1     src/sys/netinet/ip_output.c
  1.98      +3 -2      src/sys/netinet/ip_var.h


More information about the cvs-src mailing list