| 1875 | } |
| 1876 | |
| 1877 | void |
| 1878 | ifa_free(struct ifaddr *ifa) |
| 1879 | { |
| 1880 | |
| 1881 | if (refcount_release(&ifa->ifa_refcnt)) |
| 1882 | NET_EPOCH_CALL(ifa_destroy, &ifa->ifa_epoch_ctx); |
| 1883 | } |
| 1884 | |
| 1885 | /* |
| 1886 | * XXX: Because sockaddr_dl has deeper structure than the sockaddr |
no test coverage detected