* Remove an laddr entry from the local address list (on an assoc) */
| 2791 | * Remove an laddr entry from the local address list (on an assoc) |
| 2792 | */ |
| 2793 | static void |
| 2794 | sctp_remove_laddr(struct sctp_laddr *laddr) |
| 2795 | { |
| 2796 | |
| 2797 | /* remove from the list */ |
| 2798 | LIST_REMOVE(laddr, sctp_nxt_addr); |
| 2799 | sctp_free_ifa(laddr->ifa); |
| 2800 | SCTP_ZONE_FREE(SCTP_BASE_INFO(ipi_zone_laddr), laddr); |
| 2801 | SCTP_DECR_LADDR_COUNT(); |
| 2802 | } |
| 2803 | |
| 2804 | /* sctp_ifap is used to bypass normal local address validation checks */ |
| 2805 | int |
no test coverage detected