[lng-odp] [PATCH v1 1/1] linux-generic: crypto: don't leak sessions if creation fails

2017-05-09 Thread Github ODP bot
From: Dmitry Eremin-Solenikov We should free allocated session in odp_crypto_session_create() error paths, so that the session is not leaked. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 25

[lng-odp] [PATCH v1 0/1] linux-generic: crypto: don't leak sessions if creation fails

2017-05-09 Thread Github ODP bot
We should free allocated session in odp_crypto_session_create() error paths, so that the session is not leaked. Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 25 (lumag:crypto-fix-create)

[lng-odp] [PATCH] api: ipsec: add explicit nonce/salt parameter

2017-05-09 Thread Dmitry Eremin-Solenikov
CTR/GCM/CCM algorithms require static IV part provided by control party. Usually it is a part of KEYMAT returned from IKE. Signed-off-by: Dmitry Eremin-Solenikov --- include/odp/api/spec/ipsec.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

Re: [lng-odp] IPsec: outgoing inline vs outer_hdr insertion

2017-05-09 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Dmitry Eremin-Solenikov > Sent: Tuesday, May 09, 2017 6:59 PM > To: lng-odp-forward > Subject: [lng-odp] IPsec: outgoing inline vs outer_hdr insertion > > Hello, > >

Re: [lng-odp] [PATCH API-NEXT v2 3/5] api: ipsec: add soft limit expiration event

2017-05-09 Thread Bala Manoharan
On 9 May 2017 at 00:04, Bogdan Pricope wrote: > Hi, > > Can we have this event for all cases: sync/async/inline, > inbound/outbound, soft/hard limits? Lifetime expiration is destined to > control part of the application... we should be able to process it on > a

Re: [lng-odp] [PATCH v2 1/1] linux-gen: tm: fix wrr/wfq bug when weight=1

2017-05-09 Thread Maxim Uvarov
Bill, you clicked to review on github page, can you please write review by in email if reviewed? Also one comment bellow. On 05/04/2017 01:00 PM, Github ODP bot wrote: From: Dmitriy Krot Usage of 0x1 in the inverted weight calculation causes overflow of uint16_t if

[lng-odp] IPsec: outgoing inline vs outer_hdr insertion

2017-05-09 Thread Dmitry Eremin-Solenikov
Hello, After the discussion yesterday, I'd like to clarify outer_hdr insertion in case of outbound inline packets. Should the implementation insert those headers at the beginning of odp_packet? Before l3 offset? Before l2 offset? -- With best wishes Dmitry

Re: [lng-odp] [PATCH API-NEXT v2 3/5] api: ipsec: add soft limit expiration event

2017-05-09 Thread Bogdan Pricope
Hi, Can we have this event for all cases: sync/async/inline, inbound/outbound, soft/hard limits? Lifetime expiration is destined to control part of the application... we should be able to process it on a different thread/queue. Soft limit - will not affect normal processing of packets - no need