[lng-odp] [Linaro/odp] f59d87: helper: cuckootable: avoid storage leaks on error ...

2017-02-10 Thread GitHub
  Branch: refs/heads/master
  Home:   https://github.com/Linaro/odp
  Commit: f59d87a65cf1d08f8715a01dceeaf370a29e51f3
  
https://github.com/Linaro/odp/commit/f59d87a65cf1d08f8715a01dceeaf370a29e51f3
  Author: Bill Fischofer 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M helper/test/cuckootable.c

  Log Message:
  ---
  helper: cuckootable: avoid storage leaks on error paths

Ensure that malloced storage areas are freed on error paths.
This resolves Bug https://bugs.linaro.org/show_bug.cgi?id=2830

Signed-off-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 




[lng-odp] [Linaro/odp] f59d87: helper: cuckootable: avoid storage leaks on error ...

2017-02-17 Thread GitHub
  Branch: refs/heads/api-next
  Home:   https://github.com/Linaro/odp
  Commit: f59d87a65cf1d08f8715a01dceeaf370a29e51f3
  
https://github.com/Linaro/odp/commit/f59d87a65cf1d08f8715a01dceeaf370a29e51f3
  Author: Bill Fischofer 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M helper/test/cuckootable.c

  Log Message:
  ---
  helper: cuckootable: avoid storage leaks on error paths

Ensure that malloced storage areas are freed on error paths.
This resolves Bug https://bugs.linaro.org/show_bug.cgi?id=2830

Signed-off-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 


  Commit: 483af96a7a14885694496843551ed8fad708192c
  
https://github.com/Linaro/odp/commit/483af96a7a14885694496843551ed8fad708192c
  Author: Bill Fischofer 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M helper/iplookuptable.c

  Log Message:
  ---
  helper: iplookuptable: removed unused variable

Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2829 by avoiding
unused variable.

Signed-off-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 


  Commit: 0ed479bd9d474f1d7588f3370fb306a2e000ff4f
  
https://github.com/Linaro/odp/commit/0ed479bd9d474f1d7588f3370fb306a2e000ff4f
  Author: Bill Fischofer 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M helper/cuckootable.c
M helper/hashtable.c
M helper/iplookuptable.c
M helper/lineartable.c

  Log Message:
  ---
  helper: tables: avoid invalid odp_shm_addr() calls

In the various table lookup routines, check that odp_shm_lookup() returns
a valid handle before attempting to dereference it via odp_shm_addr().

Signed-off-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 


  Commit: 96f3c0362b61a415b9ecc319ee3427c8f4b7c081
  
https://github.com/Linaro/odp/commit/96f3c0362b61a415b9ecc319ee3427c8f4b7c081
  Author: Balasubramanian Manoharan 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M platform/linux-generic/include/odp_classification_inlines.h

  Log Message:
  ---
  linux-generic: classification: implement vlan id packet matching rule

Add implementation for outer and inner vlan ID packet matching rule

Signed-off-by: Balasubramanian Manoharan 
Reviewed-and-tested-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 


  Commit: 6c01f54700e5776d1f1b59517d053f0d9b62a10c
  
https://github.com/Linaro/odp/commit/6c01f54700e5776d1f1b59517d053f0d9b62a10c
  Author: Balasubramanian Manoharan 
  Date:   2017-02-10 (Fri, 10 Feb 2017)

  Changed paths:
M test/common_plat/validation/api/classification/classification.h
M test/common_plat/validation/api/classification/odp_classification_common.c
M 
test/common_plat/validation/api/classification/odp_classification_test_pmr.c
M 
test/common_plat/validation/api/classification/odp_classification_testsuites.h

  Log Message:
  ---
  validation: classification: add test case for outer and inner vlan id

Adds test case for outer and inner vlan id packet matching rule

Signed-off-by: Balasubramanian Manoharan 
Reviewed-and-tested-by: Bill Fischofer 
Signed-off-by: Maxim Uvarov 


  Commit: 3f9e9b3f17627e35843eef7e3846a75298259b69
  
https://github.com/Linaro/odp/commit/3f9e9b3f17627e35843eef7e3846a75298259b69
  Author: Matias Elo 
  Date:   2017-02-15 (Wed, 15 Feb 2017)

  Changed paths:
M test/common_plat/validation/api/crypto/odp_crypto_test_inp.c

  Log Message:
  ---
  validation: crypto: fix hw cipher/auth algorithm check

Some algorithms may be implemented using hardware and some using software.
All supported algorithms should be set in capacity.auths /capacity.ciphers
independent of implementation types.

Signed-off-by: Matias Elo 
Reviewed-by: Nikhil Agarwal 
Reviewed-by: Balakrishna Garapati 
Signed-off-by: Maxim Uvarov 


  Commit: af2c8ff31853d005aaa13247e3a19e5be7138c97
  
https://github.com/Linaro/odp/commit/af2c8ff31853d005aaa13247e3a19e5be7138c97
  Author: Matias Elo 
  Date:   2017-02-15 (Wed, 15 Feb 2017)

  Changed paths:
M test/common_plat/validation/api/crypto/crypto.c
M test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
M test/common_plat/validation/api/crypto/odp_crypto_test_inp.h

  Log Message:
  ---
  validation: crypto: check cipher/auth algorithm support before use

Skip test if selected cipher/authentication algorithms are not supported.

Signed-off-by: Matias Elo 
Reviewed-by: Nikhil Agarwal 
Reviewed-by: Balakrishna Garapati 
Signed-off-by: Maxim Uvarov 


  Commit: 8acb1d0a0c97d6902ad1b9f975facfc9c88f47b5
  
https://github.com/Linaro/odp/commit/8acb1d0a0c97d6902ad1b9f975facfc9c88f47b5
  Author: Matias Elo 
  Date:   2017-02-15 (Wed, 15 Feb 2017)

  Changed paths:
M test/common_plat/validation/api/crypto/odp_crypto_test_inp.c

  Log Message:
  ---
  validation: crypto: check cipher options support before running tests

Skip running test if cipher options are not supported.

Signed-off-by: Matias Elo 
Reviewed-by: Nikhil Agarwal 
Reviewed