1 Aug 2009 15:44
Re: [clearview-discuss] Clearview IP Tunneling code-review [due August 12]
Sebastien Roy wrote: > http://www.opensolaris.org/os/project/clearview/iptun/cr/ I read through all of SFW (not much there) and most in ON. I glazed over on dlmgmtd and a fair bit of the kernel changes. ifconfig.c: What happened to the tunnel reality check (IPsec thing)? 1614: tunnels aren't the only things that lack Ethernet addresses. There should probably be another way to do this. 2424: this looks like a test that belongs in the kernel. 2476-2477: instead of littering this test everywhere, consider having it in dladm_link_open (combination of ':' and DATALINK_CLASS_IPTUN is bad) or dladm_iptun_modify, with an appropriate error code. 2536: this will do a close even if the open fails, unlike the very similar code at 2482. 3015: lost the "tabbed" flag, which avoided spurious blank lines. It should be added back in. (And consider putchar('\n'); instead of printf("\n");.) 3909: s/is no assigned/is not assigned/ 4178: this makes the bug at 2536 much more serious; a wrong link(Continue reading)
RSS Feed