tcp: fix cc algo name parsing 60/21360/1
authorFlorin Coras <fcoras@cisco.com>
Fri, 16 Aug 2019 02:55:03 +0000 (19:55 -0700)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 16 Aug 2019 14:30:25 +0000 (14:30 +0000)
commit4222fb1835e69fac283ef5660bffe354d40f0986
treef5189abfb6dc8b1048e9570b1adaca84ae051db1
parenta5766fe1397103cee73b764181df63fdd68ef040
tcp: fix cc algo name parsing

Type: fix

The initial config parser passed a pointer to the field algo id field in
tcp main. Because the field is a u8 and it was interpreted as a uword,
it ended up overwrting other tcp configuration fields.

Change-Id: Ie9020051c8fca40e14cf42a9888daa87360e5038
Signed-off-by: Florin Coras <fcoras@cisco.com>
(cherry picked from commit d25d364d2bc146d3e17ab7c4d558bcb0ce138b89)
src/vnet/tcp/tcp.c