| 852 | } |
| 853 | |
| 854 | void |
| 855 | ip_drain(void) |
| 856 | { |
| 857 | VNET_ITERATOR_DECL(vnet_iter); |
| 858 | |
| 859 | VNET_LIST_RLOCK_NOSLEEP(); |
| 860 | VNET_FOREACH(vnet_iter) { |
| 861 | CURVNET_SET(vnet_iter); |
| 862 | ipreass_drain(); |
| 863 | CURVNET_RESTORE(); |
| 864 | } |
| 865 | VNET_LIST_RUNLOCK_NOSLEEP(); |
| 866 | } |
| 867 | |
| 868 | /* |
| 869 | * The protocol to be inserted into ip_protox[] must be already registered |
nothing calls this directly
no test coverage detected