In commit 099a0b0, the allocation strategy for IVs has been changed to use a pool. However, the pool uses fixed-size allocations of 1500 bytes, which is way oversized for the SRTP IV.
The code should be changed to use a smaller buffer size, aligned to the usual IV size, and to fallback to normal allocation for larger IVs. Or it should simply be reverted.
@aankur, what problem are you trying to solve? Could you please share your benchmarks results so I can decide whether to simply revert your change or implement a more complicated allocation strategy?