in in_addmulti, don't link the inm to the ia until the SIOCADDMULTI ioctl
authorAndrew Cherenson <andrew@ucbvax.Berkeley.EDU>
Fri, 5 Feb 1993 11:46:10 +0000 (03:46 -0800)
committerAndrew Cherenson <andrew@ucbvax.Berkeley.EDU>
Fri, 5 Feb 1993 11:46:10 +0000 (03:46 -0800)
commit4ca3d196ffec49014bee4dea2d9aeb8c9c7afdee
treee575e265aae0be706215f4fea91207776e13f60a
parente8642f470c7dcf372278b5501faa63a33cf84bd6
in in_addmulti, don't link the inm to the ia until the SIOCADDMULTI ioctl
succeeds to prevent accesses to deallocated memory.

SCCS-vsn: sys/netinet/in.c 7.28
usr/src/sys/netinet/in.c