Re: [lng-odp] [API-NEXT PATCHv2] linux-generic: packet: avoid race condition in packet_free processing

2017-02-22 Thread Bill Fischofer
dr is > shared by more than one other user) when the assignment takes > place. > > Janne > > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Bill Fischofer > > Sent: Saturday, February 18, 2017 2:52 PM >

Re: [lng-odp] [API-NEXT PATCHv2] linux-generic: packet: avoid race condition in packet_free processing

2017-02-20 Thread Peltonen, Janne (Nokia - FI/Espoo)
sts.linaro.org] On Behalf Of Bill > Fischofer > Sent: Saturday, February 18, 2017 2:52 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCHv2] linux-generic: packet: avoid race > condition in > packet_free processing > > Resolve bug https://bugs.

[lng-odp] [API-NEXT PATCHv2] linux-generic: packet: avoid race condition in packet_free processing

2017-02-18 Thread Bill Fischofer
Resolve bug https://bugs.linaro.org/show_bug.cgi?id=2892 by setting unshared_len prior to potentially freeing segments. Reported-by: Janne Peltonen Signed-off-by: Bill Fischofer --- platform/linux-generic/odp_packet.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git