IPSEC_AH: broken initialization (VPP-1208) 35/11335/4
authorMarco Varlese <marco.varlese@suse.com>
Fri, 23 Mar 2018 12:32:50 +0000 (13:32 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Fri, 23 Mar 2018 17:18:27 +0000 (17:18 +0000)
commit4631610a20e6ae3181cb517db27a93b2a3e07eff
tree3fff116ea59ee02d6f7371d623455b2dfdd628c3
parent81a13db67f6e3cca2a974e4c32d8e9db940645dc
IPSEC_AH: broken initialization (VPP-1208)

The init-path for IPSEC_AH where the CTX gets initialized is broken
since the for-loop never executes due to the wrong usage of
tm->n_vlib_mains which being subtracted by 1.

Change-Id: I4d967f52cd3ca061aa60d824d65f446e06162403
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
src/vnet/ipsec/esp.h