summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorKaustubh Pandey <kapandey@codeaurora.org>2018-08-20 13:00:36 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-23 04:05:39 -0700
commit7108e8fe0800d50cc68d986807d89378677d3769 (patch)
treecf4b8117319501ca874bcc2f2bb1d8545f7c0068 /kernel/bpf/arraymap.c
parentc25026979f83f05b1518f6dd4076fcb9a6d16023 (diff)
net: memset smsg to avoid the padding data
memset smsg to avoid the padding data of kernel to be shared with user space. Fix is to set fields event to all "0", but there is actually 6 bytes padding between "sktype" and "skflags", so memset was done to set all the padding bits to 0. CRs-Fixed: 2287852 Change-Id: I435486b80ad19c5fa54b098680623e7a4f080198 Signed-off-by: Kaustubh Pandey <kapandey@codeaurora.org> Acked-by: Chinmay Agarwal <chinagar@qti.qualcomm.com>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions