[dpdk-dev] [PATCH v2 2/3] mempool: make declaration of handler structs const

2016-05-24 Thread Hunt, David
On 5/23/2016 1:55 PM, Olivier Matz wrote: > Hi David, > > On 05/19/2016 04:48 PM, David Hunt wrote: >> For security, any data structure with function pointers should be const > I think this should be merged in the patchset adding the mempool > handler feature. Agreed, I'm working on that now, me

[dpdk-dev] [PATCH v2 2/3] mempool: make declaration of handler structs const

2016-05-23 Thread Olivier Matz
Hi David, On 05/19/2016 04:48 PM, David Hunt wrote: > For security, any data structure with function pointers should be const > > Signed-off-by: David Hunt I think this should be merged in the patchset adding the mempool handler feature.

[dpdk-dev] [PATCH v2 2/3] mempool: make declaration of handler structs const

2016-05-19 Thread David Hunt
For security, any data structure with function pointers should be const Signed-off-by: David Hunt --- lib/librte_mempool/rte_mempool.h | 2 +- lib/librte_mempool/rte_mempool_default.c | 8 lib/librte_mempool/rte_mempool_handler.c | 2 +- lib/librte_mempool/rte_mempool_stack.c