diff options
author | Damjan Marion <damarion@cisco.com> | 2017-04-04 01:28:26 +0200 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-04-04 21:05:24 +0000 |
commit | 63d5bae6401049debadfa9fcc3f18d8118b80441 (patch) | |
tree | 8f2d8316df689c32b3dcf93ce6d8d90521649c67 /src/vnet/gre/gre.h | |
parent | 615fc61d0937cda001c0ce1682e036e2bb112a74 (diff) |
Fix issue with gre protocol registration when running multithreaded
Change-Id: Ic5bd7da08f8a46b548d56516e4633f0b8badf2a1
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/gre/gre.h')
-rw-r--r-- | src/vnet/gre/gre.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnet/gre/gre.h b/src/vnet/gre/gre.h index b6544b9b737..788cba27926 100644 --- a/src/vnet/gre/gre.h +++ b/src/vnet/gre/gre.h @@ -159,6 +159,10 @@ typedef struct { */ u32 * tunnel_index_by_sw_if_index; + /* Sparse vector mapping gre protocol in network byte order + to next index. */ + u16 * next_by_protocol; + /* convenience */ vlib_main_t * vlib_main; vnet_main_t * vnet_main; |