summaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-04-20 09:54:24 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-04-26 09:30:22 +0200
commit22d4536d2c836f74421d01d534b3117223a822a0 (patch)
tree22034a41030a6ce489a687cf4e7a9b3bc3f8b2f1 /security/smack
parent23f671a1b56a4493075ab7263c78c526ac12a592 (diff)
downloadblackbird-op-linux-22d4536d2c836f74421d01d534b3117223a822a0.tar.gz
blackbird-op-linux-22d4536d2c836f74421d01d534b3117223a822a0.zip
netfilter: conntrack: handle initial extension alloc via krealloc
krealloc(NULL, ..) is same as kmalloc(), so we can avoid special-casing the initial allocation after the prealloc removal (we had to use ->alloc_len as the initial allocation size). This also means we do not zero the preallocated memory anymore; only offsets[]. Existing code makes sure the new (used) extension space gets zeroed out. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'security/smack')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud