commit | b8088dda98b9064a2b3007fe54b03ede70a15602 | [log] [tgz] |
---|---|---|
author | Florian Westphal <fw@strlen.de> | Tue Jul 17 07:17:53 2018 +0200 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Jul 20 15:31:43 2018 +0200 |
tree | 2c231e58617e7cacb2dd007e15691e154f9f4069 | |
parent | c293ac959f809ee1cd31609d9e62bccf6804b2e6 [diff] |
netfilter: nf_tables: use dev->name directly no need to store the name in separate area. Furthermore, it uses kmalloc but not kfree and most accesses seem to treat it as char[IFNAMSIZ] not char *. Remove this and use dev->name instead. In case event zeroed dev, just omit the name in the dump. Fixes: d92191aa84e5f1 ("netfilter: nf_tables: cache device name in flowtable object") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>