| 442 | } |
| 443 | |
| 444 | void |
| 445 | in_gif_uninit(void) |
| 446 | { |
| 447 | int i; |
| 448 | |
| 449 | if (IS_DEFAULT_VNET(curvnet)) { |
| 450 | for (i = 0; i < nitems(ipv4_encap_cfg); i++) |
| 451 | ip_encap_detach(ipv4_encap_cfg[i].cookie); |
| 452 | ip_encap_unregister_srcaddr(ipv4_srcaddrtab); |
| 453 | } |
| 454 | if (V_ipv4_hashtbl != NULL) { |
| 455 | gif_hashdestroy(V_ipv4_hashtbl); |
| 456 | V_ipv4_hashtbl = NULL; |
| 457 | GIF_WAIT(); |
| 458 | gif_hashdestroy(V_ipv4_srchashtbl); |
| 459 | } |
| 460 | } |
no test coverage detected