| 243 | } |
| 244 | |
| 245 | void |
| 246 | sctp_free_ifn(struct sctp_ifn *sctp_ifnp) |
| 247 | { |
| 248 | if (SCTP_DECREMENT_AND_CHECK_REFCOUNT(&sctp_ifnp->refcount)) { |
| 249 | /* We zero'd the count */ |
| 250 | if (sctp_ifnp->vrf) { |
| 251 | sctp_free_vrf(sctp_ifnp->vrf); |
| 252 | } |
| 253 | SCTP_FREE(sctp_ifnp, SCTP_M_IFN); |
| 254 | atomic_subtract_int(&SCTP_BASE_INFO(ipi_count_ifns), 1); |
| 255 | } |
| 256 | } |
| 257 | |
| 258 | void |
| 259 | sctp_update_ifn_mtu(uint32_t ifn_index, uint32_t mtu) |
no test coverage detected