diff options
author | Clement Durand <clement.durand@polytechnique.edu> | 2017-05-04 08:33:55 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-05-04 15:43:06 +0000 |
commit | da7567c022676374e7e50ff44c12ba0825e0cb38 (patch) | |
tree | b7c7925763a3a7484fd67d65ea45087d8a44f087 /src/vnet/policer | |
parent | 68c74fc71bc19b44b39601e5ab3d79d35cd5007b (diff) |
Fixes and improvements in session hashtable keys
Fix in v6 keys :
* The copy of the keys was only partial
A few suggestions are applied in this commit :
* Since there are not so many unused fields, we avoid to memset 0 and prefer
setting the unused fields to 0.
* By using a cast, it seems painless to avoid allocating a structure for the
keys creation.
Change-Id: Iaee6f036f2a979cceaeb297d98ce6c307a5ac029
Signed-off-by: Clement Durand <clement.durand@polytechnique.edu>
Diffstat (limited to 'src/vnet/policer')
0 files changed, 0 insertions, 0 deletions