This patch fixes NFCT when hash_enable is 0. Limitation of treatment to
NFCT_DESTROY message type causes usage of the hashtable function and
hence a crash because it is not initiated.
Signed-off-by: regit <regit@ghlodit.inl.fr>
Signed-off-by: Patrick McHardy <kaber@trash.net>
.ct = ct,
};
- if (!usehash_ce(upi->config_kset).u.value && type == NFCT_T_DESTROY) {
+ if (!usehash_ce(upi->config_kset).u.value) {
switch(type) {
case NFCT_T_NEW:
gettimeofday(&tmp.time[START], NULL);